CSS doesn't have
max-font-size, so if we need something that does something along those lines, we have to get tricky.
Why would you need it at all? Well,
font-size itself can be set in dynamic ways. For example,
font-size: 10vw;. That's using "viewport units" to size the type, which will get larger and smaller with the size of the browser window. If we had
max-font-size, we could limit how big it gets (similarly the other direction with … Read article