grid corrections

This commit is contained in:
raphaelgoetter 2013-07-30 14:58:52 +02:00
parent 3572f5fc8f
commit a1b4fd6b05

View File

@ -4,8 +4,8 @@
/* ----------------------------- */ /* ----------------------------- */
/* equal grids with 2% gutter */ /* equal grids with 2% gutter */
[class*=grid] > * {float: left; } /* direct childrens are floating */ [class^=grid] > * {float: left; } /* direct childrens are floating */
[class*=grid] > * + * { margin-left: 2%; } /* here's the gutter */ [class^=grid] > * + * { margin-left: 2%; } /* here's the gutter */
.grid2 > * { width: 49%; } .grid2 > * { width: 49%; }
.grid3 > * { width: 32%; } .grid3 > * { width: 32%; }
.grid4 > * { width: 23.5%; } .grid4 > * { width: 23.5%; }