An Interest In:
Web News this Week
- March 31, 2024
- March 30, 2024
- March 29, 2024
- March 28, 2024
- March 27, 2024
- March 26, 2024
- March 25, 2024
March 9, 2017 02:06 pm GMT
Original Link: https://css-tricks.com/simple-little-use-case-vmin/
Simple Little Use Case for `vmin`
Viewport units are things like 10vw (10% of the viewport width) or 2vh (2% of the viewport height). Useful sometimes, as they are always relative to the viewport. No cascading or influence by parent elements.
There is also vmin, which is the lesser of vw and vh, and vmax, which is the greater. These values can be used for anything that takes a length value, just like px or em or % or whatever.
Let's take a look at a …
Simple Little Use Case for `vmin` is a post from CSS-Tricks
Original Link: https://css-tricks.com/simple-little-use-case-vmin/
Share this article:
Tweet
View Full Article