Responsive typography can be achieved by using viewport units for font sizes, such as ________.
- %
- em
- px
- vh
Using viewport units like vh (viewport height) allows font sizes to be responsive to the height of the viewport.
Loading...
Related Quiz
- In CSS Grid, what is the function of the grid-template-areas property?
- An element with position: ________ is positioned based on the viewport and stays fixed when scrolling.
- Which CSS property is used to change the text case, such as making text all uppercase?
- You're building a website's header and you want it to stay at the top of the viewport when users scroll. Which positioning property would you use?
- How would changing the CSS unit from em to rem affect the scaling of a website's typography on different devices?