I am developing a website in Zurb Foundation 4 and SASS.
My code looks like:
<div class="row">
<div class="large-6 columns redbg"> content goes here... </div>
<div class="large-6 columns greenbg"></div>
</div>
Both of inner divs has background. I have a column gutter of 30px.I want this gutter to be white. The possible solution for it to add parent divs for both of inner divs and apply columns and large-6 class to it and this way code will look like:
<div class="row">
<div class="large-6 columns">
<div class="redbg"> content goes here... </div>
</div>
<div class="large-6 columns">
<div class="greenbg"> content goes here... </div>
</div>
</div>
But by applying this solution I have to create two divs for only the sake of design. Can anyone please guide how to do it or a better approach.
Also I wonder how to collapse a column from just one side (left or right)?