sections in css code example

Example 1: section tag in html

<section>
  <h1>Heading</h1>
  <p>Bunch of awesome content</p>
</section>

Example 2: how to use section tag in bootstrap

<section id="header"> Name of section
	<div class="container">
		<div class="row">
			<div class="col-xs-12"></div>
		</div>
	</div> 
</section>

<section id="main-content"> Name of section
	<div class="container">
		<div class="row">
			<div class="col-xs-6"></div>
			<div class="col-xs-6"></div>
		</div>
	</div> 
</section>

<section id="footer"> Name of section
	<div class="container-fluid">
		<div class="row">
			<div class="col-xs-4"></div>
			<div class="col-xs-4"></div>
			<div class="col-xs-4"></div>
		</div>
	</div> 
</section>

Tags:

Css Example