Florens Verschelde digs into the numbers behind the concept Tim Brown was talking about the other day.
When I tried wrapping my head around Tim’s implementation, and creating variants of it, I had a hard time figuring out what was going on exactly. I did a lot of back-of-the-envelope calculations, and I thought it would be useful to share a mathematical explanation.
Here’s my layman’s explanation:
- You can make a value (like
font-size) flexible with viewport units.