Display
16.4
Lesson

Display Inline Block

Sometimes itโ€™s helpful to have elements display in the same line but also behave like block-level elements with specified height and width.

This can be achieved with the display value of inline-block: