MCQ
Single Best Answer
Easy
QWhich CSS property is used to set the margin for an element to be a percentage of the height of its containing element?
ID: #8926
CSS Margins
118 views
Question Info
#8926Q ID
EasyDifficulty
CSS MarginsTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer: Option C
Explanation
There is no CSS property specifically for setting the margin around an element to be a percentage of its containing element's height. However, you can use relative values for the margin property to achieve this effect.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic