Boxes with automatic width shrink to fit their content, like these tags: layout pagination inline-block shrink to fit and they sit on the baseline of the line, with the text around them.
Boxes with a fixed width wrap their text and grow in height; the baseline of such a box is the baseline of its last line: The first card has a few words of text.The second card has a lot more text than the first one, so it is taller.Third. and the text goes on after the cards.
Numbered 1 badges 2 inside 3 a sentence.
Boxes can be nested: outer box with text and more text and the text continues here.
Centred text with a tag in the middle.
Justified text with a tag in the middle; this paragraph is long enough that it takes more than one line, so the words of every line but the last are spread out to fill it, and the box has to move with the words in front of it. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.