Asia & global innovation
Sign inJoin us
TechStar AsiaIdeas without bordersAsia & global innovation
← Latest news

From Dev.to

Fluid sizes with CSS clamp(): practical examples you can copy

Media queries make values jump: 16px, then suddenly 20px, then 24px. Fluid values grow smoothly with the screen instead. In modern CSS, one line does it: font-size: clamp(16px, calc(10.66667px + 1.481...

Read the full report at Dev.to ↗