css-inline-block Flashcards

1
Q

What is the initial display property of <div>s?

</div>

A

display:none

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

What is the difference between display: none and visibility: hidden?

A

visibility: hidden is not visible but takes up space
display: none hidden and takes up no space

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

What is the difference between the block, inline block, and inline display properties?

A

inline: causes block level to act like inline
block: causes inline to act like block

inline-block: causes block to flow like inline while retaining block elements

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