Single Choice Easy

QWhich CSS property is used to set the margin for an element to be a fixed value relative to the viewport?

ID: #8925 CSS Margins 153 views
Question Info
#8925Q ID
EasyDifficulty
CSS MarginsTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A margin-viewport
  • B margin-absolute
  • C margin-fixed-viewport
  • D margin-viewport-relative
Correct Answer

Explanation

The margin-viewport property is used to set the margin for an element to be a fixed value relative to the viewport.

Share This Question

Challenge a friend or share with your study group.