by perlgeek · 12y ago · 0 comments
And what does the "calc(33vw - 100px)" do, apparently in void context?
Somehow I feel more confused after reading the article.
Google has a first-class definition, too: https://www.google.com/search?q=css+vw+unit
The `calc()` function is a CSS function that lets you calculate values like 100vw - 100px, similar to what you can do in JavaScript. See more: https://developer.mozilla.org/en-US/docs/Web/CSS/calc