The CSS unit ______ is equivalent to the computed value of the font-size of the element's parent.
- rem
- em
- px
- vw
The correct option is 'rem.' The 'rem' unit represents the font-size of the root element (html), providing a scalable way to set sizes based on the base font size of the document.
Loading...
Related Quiz
- In CSS, if you want an element to inherit a property's value from its parent element, you would use the value ________.
- How can media queries be used to apply styles based on device features other than screen size?
- How does CSS specificity affect the cascade?
- What's the primary difference between the clip-path and mask properties in CSS?
- How does the ::before pseudo-element differ from the :before pseudo-class in CSS?