HTML CSS examples for CSS Widget:Table Row
Nesting rows in grid
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/foundation/4.1.6/css/foundation.css"> <style id="compiled-css" type="text/css"> div {<!-- w w w.j av a2 s .c o m--> text-align:center; } .a { background-color:Chartreuse; } .b { background-color:yellow; } .c { background-color:blue; } .n { background-color:pink; } .r { background-color:OrangeRed; } .m { background-color:grey; } </style> </head> <body> <div class="row"> <div class="a large-3 small-12 columns"> Lor </div> <div class="b large-8 small-12 columns"> <div class="row"> <div class="r large-3 columns"> Lor </div> <div class="r large-3 columns"> Lor </div> <div class="r large-3 columns"> Lor </div> <div class="r large-3 columns"> Lor </div> </div> <div class="row"> <div class="n large-8 columns"> Lor </div> <div class="m large-4 columns"> Lor </div> </div> </div> <div class="c large-1 small-6 columns"> Lor </div> </div> </body> </html>