24
loading...
This website collects cookies to deliver better user experience
container
class on a section
tag and a row
class on a div
tag. Then, to separate the container, you want you use a col
class on a child div
tag and state how many spaces you want the row to be. There are 3 different size options you can use depending on how big the screen size is.s
for small screensm
for medium screensl
for large screenss
, m
, or l
to state how much space in that row of the container you want it to take up. There are a total of 12 spaces that take up an entire screen when using this method, so in the example below, my section for the tabs
take up the entire top part of the screen. Then each of the tabs splits those 12 spaces equally by each of them being 6 spaces long.<section class="container section">
<div class="row">
<div class="col l12">
<ul class="tabs">
<li class="tab col s6">
<a href="#database" class="green-text text-darken-3">Database</a>
</li>
<li class="tab col s6">
<a href="#generator" class="green-text text-darken-3">Generator</a>
</li>
</ul>
</div>
</div>
</section>