Foundation 4 Nesting -


when nesting grids in foundation 4 have wrap nested elements in div class has attribute row?

for example, here current code:

<ul id="games" class="row">     <li class="small-6 large-3 columns">         <ul class="row">             <li class="large-5 columns">image</li>             <li class="large-7 columns">                 <p>£35 free</p>                 <dl>                     <dt>deposit:</dt>                     <dd>£10</dd>                      <dt>balance:</dt>                     <dd>£45</dd>                 </dl>             </li>         </ul>     </li> </ul> 

in example above second ul has class row, class need it?

i can't think there's nesting going on in example. doesn't feel comfortable.

in example above second ul has class row, class need it?

i need because of following reason. removing row class inner container element make push content smaller area. adding row class reduces margin , allows have wider content area.

so why need it? unless have reason why want have spaces (margin) around container element, need add row class.


Comments