Andrej ⚡️
Andrej ⚡️

@reactive_dude

4 Tweets 6 reads Dec 21, 2022
📌 Forget breakpoints! Use CSS clamp to size your text based on the viewport width.
Sandbox + details below 👇
CSS Clamp property scales your value between min and max.
Don't stress about doing the CSS clamp math yourself - there's a calculator available to help!
🔗 utopia.fyi
Here's the final result:
codesandbox.io

Loading suggestions...