Fluid Clamp Calculator

Replace static px sizes and breakpoint media queries with fluid CSS clamp()/calc() tokens for typography, padding, margins, and gaps that scale smoothly between a 320px mobile floor and a 1200–1440px desktop ceiling. Use this whenever writing or refactoring CSS, Tailwind, styled- components, or design tokens for headings, section spacing, container padding, or grid/flex gaps — including when the user just says "make it responsive", "fluid type", "scale with the viewport", "stop it looking cramped on mobile / huge on wide screens", or asks for a type scale, spacing scale, or design tokens. Also use when reviewing CSS that hardcodes font-size or spacing in px across several breakpoints.

fernandokylas Updated

File contents

fernandokylas/editorial-web-craft/tree/main/skills/fluid-clamp-calculator commit 5e5122315c

Frequently asked questions

npx skillmds@latest add fernandokylas/fluid-clamp-calculator