📐

ฟรี CSS clamp() Generator

Generate a fluid CSS clamp() value for responsive typography and spacing. Set min/max size and viewport range, see a live preview, and copy the one-line CSS.

Runs in your browserNo sign-up, no pop-upsไม่ต้องเข้าสู่ระบบฟรีตลอดไป
Output unit:
CSS value
font-size: clamp(1rem, 1.5023vw + 0.6479rem, 2rem);

Rendered size at different viewports

375px wideAa 16px
908px wideAa 24px
1440px wideAa 32px

💡 clamp(min, preferred, max) scales a value fluidly with the viewport, then locks at the min and max. It replaces stacks of media queries for typography, spacing, and widths with a single line.

Optimize for your platform

วิธีการทำงาน

1
ป้อนข้อมูล
ป้อนข้อความหรือข้อมูลของคุณ
2
ประมวลผล
ประมวลผลทันทีในเบราว์เซอร์ของคุณ ไม่มีเซิร์ฟเวอร์ ไม่ต้องรอ
3
ดาวน์โหลด
บันทึกผลลัพธ์ของคุณ ไม่มีอะไรถูกจัดเก็บ

ทำไมต้องใช้ของเรา?

Completely free — no hidden costs, ever
No account, email, or login required
Runs entirely in your browser — no uploads
Works on any device — phone, tablet, desktop
Open and ad-supported, with no tracking
Loads fast, with no installation needed

เครื่องมือที่เกี่ยวข้อง

เครื่องมือนี้เป็นประโยชน์หรือไม่?

คำถามที่พบบ่อย