From a1b4fd6b054d61d59eef5f102d46de4e30637195 Mon Sep 17 00:00:00 2001 From: raphaelgoetter Date: Tue, 30 Jul 2013 14:58:52 +0200 Subject: [PATCH] grid corrections --- css/grids.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/css/grids.css b/css/grids.css index 20c3990..58570b4 100644 --- a/css/grids.css +++ b/css/grids.css @@ -4,8 +4,8 @@ /* ----------------------------- */ /* equal grids with 2% gutter */ -[class*=grid] > * {float: left; } /* direct childrens are floating */ -[class*=grid] > * + * { margin-left: 2%; } /* here's the gutter */ +[class^=grid] > * {float: left; } /* direct childrens are floating */ +[class^=grid] > * + * { margin-left: 2%; } /* here's the gutter */ .grid2 > * { width: 49%; } .grid3 > * { width: 32%; } .grid4 > * { width: 23.5%; }