When specifying the width of an element, using the unit ______ ensures that the sizing is scalable and based on the viewport width.

  • vw
  • vh
  • %
  • px
The correct option is 'vw.' The 'vw' unit represents a percentage of the viewport width, allowing responsive design by specifying widths relative to the size of the viewport.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *