From b269309d2d6442bf64558b7527fc58245866cc9d Mon Sep 17 00:00:00 2001 From: Toby Vervaart Date: Fri, 12 Apr 2013 09:23:37 +1000 Subject: [PATCH] Added box-sizing to columns Added box-sizing to columns to allow for borders, padding etc. to be added inside the column, thus not breaking the grid if required. --- stylesheets/skeleton.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stylesheets/skeleton.css b/stylesheets/skeleton.css index 5db3d38..ca895b4 100644 --- a/stylesheets/skeleton.css +++ b/stylesheets/skeleton.css @@ -23,7 +23,7 @@ .container { position: relative; width: 960px; margin: 0 auto; padding: 0; } .container .column, - .container .columns { float: left; display: inline; margin-left: 10px; margin-right: 10px; } + .container .columns { float: left; display: inline; margin-left: 10px; margin-right: 10px; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; -o-box-sizing: border-box; -khtml-box-sizing: border-box; } .row { margin-bottom: 20px; } /* Nested Column Classes */