position: sticky works or does nothing, with no error and no warning. Nearly always the cause is an ancestor rather than the element itself. The overflow rule is…
100vh is defined against the viewport with the browser chrome hidden. On iOS Safari the address bar is visible until the user scrolls, so a full-height hero is…
:nth-child(2) means “the second child, and only match if it is also this element type”. :nth-of-type(2) means “the second one of this element type among its siblings”. They…
Fitting a user-uploaded image of unknown aspect ratio into a fixed box has always meant a wrapper with overflow: hidden, the image absolutely positioned, and a centring translate.…