Frontend CSS
When to use this skill:
- •When adding styles to React components or UI elements
- •When implementing layouts with flexbox or grid using Tailwind
- •When creating responsive designs across mobile, tablet, and desktop
- •When defining color schemes, typography, or spacing systems in tailwind.config.js
- •When working with Tailwind CSS utility classes and organizing them by category
- •When creating CSS Module files (PascalCase.module.css) for custom component styles
- •When configuring Tailwind (tailwind.config.js) with custom colors, fonts, spacing
- •When implementing animations or transitions (animate-* utilities or custom keyframes)
- •When adding dark mode support with dark: variant
- •When ensuring accessible color contrast (4.5:1) and visible focus states
- •When optimizing CSS performance and bundle size (CSS purging)
- •When working on component files with styling (*.tsx, *.jsx, *.module.css)
- •When centering content, creating grid layouts, or using flexbox patterns
- •When deciding between Tailwind, CSS Modules, or custom CSS for specific visual needs
This Skill provides Claude Code with specific guidance on how to adhere to coding standards as they relate to how it should handle frontend CSS.
Instructions
For details, refer to the information provided in this file: frontend CSS