Responsive Flashcards
1
Q
What are the four different viewport units?
A
- vw: eg.) 10vw would be 10% of the viewport’s width.
- vh: eg.) 3vh would be 3% of the viewport’s height.
- vmin: eg.) 70vmin would be 70% of the viewport’s smaller dimension (height vs. width).
- vmax: eg.) 100vmax would be 100% of the viewport’s bigger dimension (height vs. width).