How do you set margin on each side of a div element to different value?
Experience Level:
Junior
Tags:
CSS
Answer
dive {
margin: 4px 5px 9px 3px;
}
Related CSS job interview questions
-
How do you set fixed width of specific div element?
CSS Junior -
How do you change font for all buttons using CSS?
CSS Junior -
What is a differene between margin and padding and what are they used for?
CSS Junior -
How do you set text color using CSS?
CSS Junior -
How do you make font bold using CSS?
CSS Junior