modern-css-patterns
OfficialModern CSS patterns for robust UI systems.
Design & Creative#responsive-design#container-queries#subgrid#cascade-layers#has-selector#modern-css-patterns#anchor-positioning
Authorsystempromptio
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Production-ready modern CSS features — container queries, :has(), subgrid, scroll-driven animations, View Transitions, anchor positioning, and cascade layers, are applied to elevate UI quality and maintainability.
Core Features & Use Cases
- Container queries fundamentals and responsive component adaptation
- Relational selectors with :has() for stateful styling without JavaScript
- Subgrid usage for aligned grids and cards
- Boundary-scoped styling with @scope for CMS-boundaries
- Anchor positioning for tooltips and popovers without JS
- Scroll-driven animations and View Transitions for smooth UX
- Entry animations using @starting-style
- Text wrapping controls with text-wrap balance and pretty
- Cascade layers (@layer) for organized, layered CSS architecture
- Native CSS nesting to co-locate related rules
Quick Start
Apply these modern CSS patterns to your UI components by progressively refactoring styles to use container queries, :has() selectors, subgrid, and cascade layers.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: modern-css-patterns Download link: https://github.com/systempromptio/systemprompt-marketplace/archive/main.zip#modern-css-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.