css-inline-block Flashcards

1
Q

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

A

Block

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

display: none hides an element from the page. You can still see it in the inspector, while visibility: hidden removes the element completely

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

block causes causes inline level elements to start on a new line, causes a block level element to flow like an inline element though it keeps certain properties of a block level element and inline causes block level elements to be on the same line.

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