CSS Display Flashcards

1
Q

What are some characteristics of block?

A
  • It displays an element as a block element (like < p >, < div >).
  • It starts on a new line, and takes up the whole width.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are some characteristics of inline?

A
  • Displays an element as an inline element (like < span >).

- Any height and width properties will have no effect.

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

What are some characteristics of inline-block?

A
  • Displays an element as an inline-level block container.

- The element itself is formatted as an inline element, but you can apply height and width values.

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