SmolCSS
lastmod 2026-11-10created 2021-11-162 edits
SmolCSS is a site collecting minimal code snippets that implement layouts and components with modern CSS features. It shows how to build responsive grids, fluid type sizes, centering, and card layouts in a few lines without media queries, using features such as Grid and Flexbox, clamp(), aspect-ratio, and logical properties. Each example comes with code and a working demo, so it serves as material to copy from or to learn techniques.
Minimal snippets for modern CSS layouts and components