For responsive typography, the ______ CSS unit can scale font sizes based on the viewport height.
- vw
- vh
- %
- em
The correct option is b) vh. In CSS, the "vh" unit represents a percentage of the viewport height. This is useful for creating typography that adjusts based on the height of the user's screen.
Loading...
Related Quiz
- To run animations in reverse order after they complete, the value for animation-direction should be ________.
- Minifying CSS improves performance primarily by reducing _________ and removing unnecessary ________.
- In mobile-first design, the use of ________ media queries is essential for adapting the layout for larger screens.
- You are tasked with ensuring that all hyperlinks have no underlines but should be underlined when hovered over. How would you implement this using CSS?
- The @font-face rule allows web designers to use fonts that are not ________ on the user's machine.