Sticky Headers And Full-Height Elements: A Tricky Combination

Sticky positioning is one of those CSS features that’s pretty delicate and can be negated by a lot of things, so here’s another one to add to your mental catalog: Sticky elements don’t play nicely if they have to coordinate with other elements to make up a combined height, like 100vh. Philip Braunen explores why this happens and presents a solution to fix it. https://smashingmagazine.com/2024/09/sticky-headers-full-height-elements-tricky-combination/

Établi 4mo | 5 sept. 2024 à 20:20:08


Connectez-vous pour ajouter un commentaire

Autres messages de ce groupe

The Design Leader Dilemma

Design leaders are expected to deliver the impossible. Instead of trying, we need to redefine our role from implementor to enabler. https://smashingmagazine.com/2024/12/the-design-leader-dilemma/

23 déc. 2024 à 18:50:14 | Smashing magazine
Three Approaches To Amplify Your Design Projects

There are many ways to elevate a design project from good to incredible. For web and product designers, it’s not just about adding more animations and flair. What it truly comes down to is a reframing

17 déc. 2024 à 12:20:04 | Smashing magazine
An Introduction To CSS Scroll-Driven Animations: Scroll And View Progress Timelines

10 years after scroll-driven animations were first proposed, they’re finally here — no JavaScript, no dependencies, no libraries, just pure CSS. https://smashingmagazine.com/2024/12/introduction

11 déc. 2024 à 19:30:07 | Smashing magazine
Mastering SVG Arcs

SVG arcs demystified! Akshay Gupta explains how to master radii, rotation, and arc direction to create stunning curves. Make arcs a powerful part of your SVG toolkit for creating more dynamic, intrica

9 déc. 2024 à 16:30:10 | Smashing magazine
The Importance Of Graceful Degradation In Accessible Interface Design

Few things are as frustrating to a user as when a site won’t respond. Unfortunately, it’s also an all-too-common scenario. Many websites and apps depend on so many elements that one of any number of e

6 déc. 2024 à 14:20:10 | Smashing magazine
Bundle Up And Save On Smashing Books And Workshops

It’s the end of the year, and as we look at our inventory, we thought, “Let’s help everyone in our community get ready for the year ahead!” Get friendly pricing on bundles of books and workshops to di

3 déc. 2024 à 16:50:04 | Smashing magazine
Creating An Effective Multistep Form For Better User Experience

Forms are already notoriously tough to customize and style — to the extent that we’re already starting to see new ideas for more flexible control. But what we don’t often discuss is designing go

3 déc. 2024 à 12:20:03 | Smashing magazine