clamp

Fluid Type Calculator

Build a CSS clamp() that scales smoothly between two viewport sizes.

Processed in your browser

Your entered content is processed on this device. It is not uploaded by this tool. Some tools load code or public resources before processing.

Viewport range

Font size

Presets

Live preview

The quick brown fox jumps over the lazy dog.

CSS


        
slope
intercept
preferred

Formula: clamp(min, preferred, max) where preferred is a linear function of viewport width. Below the min viewport the size stays put; above the max it caps. Works for spacing too: treat the font inputs as padding or gap.

Only details you choose to share.
COMMAND CENTRE

Search all 370 tools

↑ ↓ navigate · ↵ open · esc closeDELIGHTS.DIGITAL

Your workspace

Saved on this device. Favourites follow your chosen order.

Favourites (0)

Open a tool and choose “Save tool” to add your first favourite.

    Recently used

    No recent tools. Your favourites stay saved when history is cleared.

    Your preferences

    Remembered in this browser across visits.

    Your device’s reduced-motion preference always takes priority. The intro can be replayed from the homepage.

    Report a problem

    Send a report straight to info@dawsony.com. Use sample data and keep passwords or tokens out of the description.

    We email only the details above through our delivery provider. Your address is optional and is used for replies to this report. Tool input, output, files and URL parameters are excluded automatically.