Learn Basic CSS by Building a Cafe Menu

It is the actual element in the HTML and their position. When elements are set as inline-block they behave a bit like words in text. So adding or removing a new line or space will affect it’s position (like a word in a sentence). Putting the element directly next to each other will remove the single space between them.

2 Likes