Features of inline-block elements in CSS
There are tags that are inline-block when displayed on the screen. Inline-block elements combine features of block and inline elements.
You only know one such tag so far: img
. However, images do not reveal all the features of this model, so let's look at how such elements work using the example of the span
tags, changing their block model by setting the display
property to inline-block
.