CSS Tricks continues to be my favorite and go-to for all things CSS and front-end. Years ago, I discovered the power of using CSS’s
calc() — unlocking the ability to mix percentages in pixels in the heyday of the CSS box model. I’ve since converted my current dev team, opening their eyes to the power of using
The post linked below uses our buddy,
calc() as an ingenious means to have fluid sizing of fonts. I’ve been doing this in part lately with viewport width, but this is a more elegant, but more complicated solution.
Source: CSS-Tricks – Fun Tip: Use calc() to Change the Height of a Hero Component