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/

Created 6mo | Sep 5, 2024, 8:20:08 PM


Login to add comment

Other posts in this group

Human-Centered Design Through AI-Assisted Usability Testing: Reality Or Fiction?

Eduard Kuric discusses the significance and role of context in the creation of relevant follow-up questions for unmoderated usability testing, how an AI tasked with interactive follow-up should be val

Feb 19, 2025, 1:30:10 PM | Smashing magazine
How OWASP Helps You Secure Your Full-Stack Web Applications

The OWASP vulnerabilities list is the perfect starting point for web developers looking to strengthen their security expertise. Let’s discover how these vulnerabilities materialize in full-stack web a

Feb 18, 2025, 12:10:03 PM | Smashing magazine
How To Test And Measure Content In UX

The goal of content design is to reduce confusion and improve clarity. Yet often it’s difficult to pinpoint a problem as user feedback tends to be not specific enough. But: we can use a few simple tec

Feb 13, 2025, 1:40:09 PM | Smashing magazine
Time To First Byte: Beyond Server Response Time

Optimizing web performance means looking beyond surface-level metrics. Time to First Byte (TTFB) is crucial, but improving it requires more than tweaking server response time. Matt Zeunert breaks down

Feb 13, 2025, 2:10:08 AM | Smashing magazine
How I Created A Popular WordPress Theme And Coined The Term “Hero Section” (Without Realizing It)

In 2013, Marcel Moerkens was working on Brooklyn, his WordPress theme, and he needed a way to make it stand out from the pack of other WordPress themes. Little did he know that the intro section he ca

Feb 10, 2025, 4:10:08 PM | Smashing magazine
Taking RWD To The Extreme

Tomasz Jakut reflects on the evolution of web design, from the days of table-based layouts and Flash games to the rise of responsive web design (RWD), which often feels like the end of history in web

Feb 7, 2025, 6:30:12 PM | Smashing magazine
Integrations: From Simple Data Transfer To Modern Composable Architectures

In today’s web development landscape, the concept of a monolithic application has become increasingly rare. Modern applications are composed of multiple specialized services, each of which handles spe

Feb 4, 2025, 2:10:08 PM | Smashing magazine