Give help. Get help.

  • # January 13, 2013 at 7:19 pm

    I’m trying to figure out how to create a simple grid similar to Chris Coyier’s “Don’t Overthink it Grid” but I seem to be missing something. My boxes are 25%. Why don’t the 4 boxes fit across the parent container? 25%+25%+25%+25% = 100%, no?

    It appears to have to do with the margin but I thought this resolved that:

    `* {
    @include box-sizing(border-box);

    # January 13, 2013 at 9:43 pm

    Ah, got it. I didn’t realize border box didn’t affect margin. It makes sense now that I think about it. Thanks ChrisP. Pen is updated.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.