module 3 Flashcards

1
Q

what is the default for box-sizing

A

the default is box-content. It is usually better to set that to box-border so when we set hight and width we set it to include content+padding+border and not just the content

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

list-style:none

A

remove the bullets of the ul/ol

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

calc

A

allows us to do calculation on properties

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

display:inline-block

A

makes an element inline but allows us to work with padding margin left/right

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

padding: 10px 10px

A

shorthand for top/buttom left/right

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