css
Organize maintainable CSS.
Approaches
- BEM: Block__Element--Modifier
- CSS Modules: locally scoped
- Tailwind: utility-first
- CSS-in-JS: styled-components
- CSS custom properties for theming
Responsive design
- Mobile-first approach
- Breakpoints: sm(640), md(768), lg(1024), xl(1280)
- Relative units (rem, em, %) over px
- Flexbox and Grid