Tag:css
All the articles with the tag "css".
How CSS cascade layers let you win with lower specificity
Posted on:March 30, 2026 at 12:00 PMUsing the @layer at-rule to order resets, components, and utilities so layer order does the heavy lifting—fewer chained selectors and less need for !important.
@container: responsive layout that follows the component, not the viewport
Posted on:April 7, 2026 at 12:00 PMContainer queries and the @container rule let you style elements from their parent's width—so cards, sidebars, and embeds adapt inside columns and grids without viewport media queries.
Why CSS logical properties are the efficient default
Posted on:March 27, 2026 at 02:00 PMHow margin-inline, padding-block, and friends replace left/right gymnastics with fewer declarations and better RTL and writing-mode behavior—without extra media queries.