Previously I’ve discussed what I called “the two kinds of element”:
block. That was an oversimplification for the purpose of instruction: in reality, HTML elements can have over a dozen different
block were the first and simplest values added to the CSS spec.
display: table and its related values are almost as old, while
grid are the latest. Somewhere in the middle is
inline-block can solve many common frustrations and limitations in web design, although not without introducing a few of its own.