Single Choice Easy

QWhich CSS property is used to set the margin around an element to be a percentage of the width of its containing element?

ID: #8924 CSS Margins 139 views
Question Info
#8924Q ID
EasyDifficulty
CSS MarginsTopic

Choose the Best Option

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

  • A margin-width
  • B margin-percentage
  • C margin-viewport
  • D margin-relative
Correct Answer

Explanation

The margin-percentage property is used to set the margin around an element to be a percentage of the width of its containing element.

Share This Question

Challenge a friend or share with your study group.