Modernizing CSS: Create snazzier sites
summary
Browsers now ship usable features you can adopt today: the inert attribute removes elements from the accessibility and input tree so off‑canvas drawers truly stop receiving focus, CSS @layer gives deterministic specificity so you can stop abusing !important, and accent-color skins native controls. Prefer logical properties (margin-inline, inline-start) for RTL, use prefers‑color‑scheme for theming, favor CSS variables as your component API, and explore Houdini for custom paint worklets.
AI-written summary · about
