Modern CSS

Write cutting-edge and modern native CSS. Apply this skill whenever writing, reviewing, or refactoring CSS for components, layouts, design systems, or theming, even if the user doesn't say "modern CSS" explicitly. Covers a self-contained design-token scale (color, size, shadow, ease, type), cascade layers (@layer), @scope for component isolation (donut scopes, :scope specificity, scoping proximity), container queries, :has(), OKLCH/color-mix, native nesting, subgrid, fluid typography via clamp(), scroll-driven animations, logical properties, and concrete native replacements for SCSS mixins, maps, and variables.

dkolba f2bd3d4 33.8 KB Updated

File contents

dkolba/bruff/tree/main/.agents/skills/modern-css commit f2bd3d4722

Frequently asked questions

npx skillmds@latest add dkolba/modern-css