To ensure text resizing without loss of content or functionality, use the CSS unit ________ for font sizes.
- em
- px
- vh
- rem
The correct option is em. Using em for font sizes allows text to be resized relative to its parent element, ensuring scalability without loss of content or functionality.
Loading...
Related Quiz
- What is the primary function of Autoprefixing in CSS development?
- CSS Variables are often declared using the syntax --________: value; where ________ represents the variable name.
- The ________ CSS property is essential for defining the external source of a custom font.
- What is the role of the src attribute inside the @font-face rule?
- A website has a high First Contentful Paint (FCP) time. What CSS optimization strategy could be most effective in improving this metric?