CSS Tools & Generators
Free interactive tools for modern CSS. Configure the controls, copy the generated code, and paste it into your project. No signup, no framework.
Interactive tools 14 items
CSS clamp() Calculator
TypographySet your min and max font size and the viewport range. Resize the preview container and watch the browser apply clamp() in real time.
OKLCH Color Picker & Generator
ColorDrag the sliders to explore each OKLCH axis. Lightness, chroma, and hue, each isolated so you can feel what they do.
CSS aspect-ratio Calculator
LayoutChoose a preset or enter width and height. See the box keep its ratio as you resize the container, then copy aspect-ratio and object-fit CSS.
:nth-child() Visualizer
SelectorsClick any selector pattern and see which items match in real time. Type your own formula in the custom input to test any pattern.
CSS :has() Selector Playground
SelectorsFive short challenges. Pick the :has() selector that matches the highlighted element and see why it works in a live DOM preview.
color-mix() Generator
ColorPick two colors, set the mix percentage, and switch color spaces. The comparison strip shows why the same two colors produce different midpoints in different spaces.
CSS Scroll Snap Generator
LayoutScroll the strip and toggle each setting. The difference between mandatory and proximity is hard to understand from docs alone.
CSS Container Query Visualizer
LayoutResize the container and watch the card layout flip at your breakpoint. Copy container-type and @container CSS when the layout feels right.
CSS Scrollbar Styler
LayoutPick a thumb color, a track color and a width, then watch a real scrollbar change. Copy the two-line CSS when it looks right.
CSS Flexbox Centering Playground
LayoutClick justify-content and align-items and watch the items move. It shows which property centers horizontally, which centers vertically, and how column direction swaps them.
CSS Viewport Units Visualizer
LayoutA phone with a toolbar that you can show and hide. Switch between vh, svh, lvh and dvh to see which one gets cut off, which one leaves a gap and which one follows the bars.
CSS Frosted Glass Generator
EffectsDrag the blur and tint sliders on a card sitting over colorful shapes. Copy the CSS, including a solid fallback for browsers that skip backdrop-filter.
CSS zoom vs scale Comparison
LayoutTwo identical rows with the same scale factor. One uses zoom and the other uses transform: scale(). Watch what happens to the neighbors.
CSS Grid Generator
LayoutPick a column template, adjust the gap, and click any item to control how many columns it spans. The CSS output updates as you go.