Single Choice Easy

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

ID: #8927 CSS Margins 199 views
Question Info
#8927Q ID
EasyDifficulty
CSS MarginsTopic

Choose the Best Option

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

  • A margin-font ✔ ✖
  • B margin-rem ✔ ✖
  • C margin-em ✔ ✖
  • D margin-pixel ✔ ✖
Correct Answer

Explanation

The margin-em property is used to set the margin for an element to be a fixed value relative to its font size.

Share This Question

Challenge a friend or share with your study group.