Hook

clamp() function
Their other posts in the index, biggest breakout first.
We often set our font-size like this, but when the screen size changes, the text doesn't always stay responsive. So, how can you make it responsive with just one trick without using media queries? Let's check it out. First, use the clamp function for the font-size. Then provide three values: minimum value, preferred value, and maximum value. 32px -> Minimum Value. The Minimum Value means - the font size will never go below this value, no matter how small the screen gets. 8vw -> Preferred Value. The Preferred Value is the size the browser tries to use based on the current viewport. 80px -> Maximum Value. The Maximum Value means - the font size will never go above this value, no matter how large the screen gets. Now, resize the browser and you'll see the text automatically scales and stays perfectly responsive. That's CSS tricks number two. Follow for the next CSS trick.