For responsive typography, the ________ unit is often used to adjust font size relative to the viewport width.
- vw
- em
- px
- %
The correct option is vw (viewport width). This unit allows you to set the font size in relation to the width of the viewport. For responsive design, using vw ensures that the text scales appropriately based on the user's device screen.
Loading...
Related Quiz
- How does minifying CSS files contribute to web page performance?
- How can you specify multiple animations on a single element in CSS?
- The space between the content of an element and its border is determined by the ________ property.
- What is the primary benefit of using SVGs in web design compared to traditional image formats like JPEG or PNG?
- To make an image responsive, which CSS property is essential?