 <p>If what you're talking about is the space in between each box, the class "box" is inline-block, so the line-breaks in the markup are interpreted as implied spaces. Place all the inline-block markup on a single line <code>&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;...</code> and the "space" between will collapse.</p>