DEV Community

Discussion on: Block vs. Inline vs. Inline-Block

Collapse
alohci profile image
Nicholas Stimpson • Edited on

inline-block = An atomic inline-level element that respects margin, width and height, and is a block container for its contents.

inline-flex = An atomic inline-level element that respects margin, width and height, and is a flex container for its contents.

inline-grid = An atomic inline-level element that respects margin, width and height, and is a grid container for its contents.