css-box-model Flashcards

1
Q

What CSS properties make up the box model?

A

Border: separates one box from another
Margin: sits outside the border. width of margin creates gap between borders
Padding: space between border of the box and any content within it. increases the readability of it’s contents

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