You are reading...

June 28th

One of the biggests quirks about inline-block element is a gap between each inline-block element.

Fortunately, it’s almost always 4 pixels wide. So either using negative margins or other simple arithmetic can fix this issue.

So it’s safe to say there is zero reasons to use floats for layouts anymore.

Go home