Treehouse: Grow your CSS skills. Land your dream job.

about box-sizing css

  • # December 21, 2012 at 4:11 am



    my Question is ok i add a padding-right than it wont effect the width of the div ok its fine but when i add margin-right the size gets increased does box-sizing doesnot work for margin or what is it how do a make it not chance on margin too Thanks

    # December 21, 2012 at 4:15 am

    Margin sits outside of the rendered box, so `box-sizing` has no effect on the margin.

    # December 23, 2012 at 9:56 am

    ok thanks @joshuanhibbert

    # December 23, 2012 at 11:07 am

    I found [this]( “”) helpful..

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

You must be logged in to reply to this topic.