CSS-BOX-MODEL Flashcards

1
Q

What CSS properties make up the box model?

A

The CSS box model is a container that contains multiple properties including borders, margin, padding, and the content itself. It is used to create the design and layout of web pages.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which CSS property pushes boxes away from each other?

A

The CSS “margin” property pushes boxes away from each other.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which CSS property add space between a box’s content and its border?

A

The CSS “padding” property adds space between a box’s content and its border

How well did you know this?
1
Not at all
2
3
4
5
Perfectly