modern-css
CommunityWrite modern, efficient CSS.
Authorcaidanw
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps developers write modern, efficient CSS by replacing outdated hacks, workarounds, and JavaScript solutions with native CSS features, improving code quality and maintainability.
Core Features & Use Cases
- Modern CSS Techniques: Teaches and applies modern CSS features for layout, animation, color, typography, selectors, and workflow.
- Replaces Legacy Patterns: Identifies and refactors old CSS patterns (e.g., margin hacks, JS scroll listeners, Sass variables) into their modern native equivalents.
- Browser Support Guidance: Provides clear guidance on when to use features based on browser support tiers (Widely Available, Newly Available, Limited Availability) and advises on fallbacks.
- Use Case: When refactoring an old project, this Skill can identify a legacy absolute-centering hack and suggest using
place-items: centerwith Grid, explaining the benefits and browser support.
Quick Start
Refactor the provided CSS to use modern CSS techniques, prioritizing widely available features.
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 Download link: https://github.com/caidanw/skills/archive/main.zip#modern-css 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 223,000+ vetted skills library on demand.