Home › Forums › CSS › nested columns › Re: nested columns
i know.
im talking what if I wanted nested columns with modules.
.col-3-4 is a column and inside we have more columns or divs or modules (in my code i used h3’s and p’s as the modules…. ok i know thats weird but it was just a quick thing.)
im getting closer
to get rid of the double padding from col within a col I placed the inner col in position relative and pulled it left the amount of the padding. so now it looks like there is one gutter.
then I have to get the other side to grow. so I set the module holding the inner col (called .row) and set it to absolute and a width of 100%. but now its out of the flow and thats no good…
http://codepen.io/anon/pen/fubCA
check out the last set of cols