user2548663 user2548663 - 3 months ago 12
CSS Question

how to create a simple website template using bootstrap?

Can someone please give me a simple example of html and css that I need to have to create something like this picture using bootstrap?

website template like this image

I searched the web but cannot find a simple example!
(for bootstrap v3.3.7 in asp.net mvc project)

Answer

Here is a code for You, enjoy!

<div class="row">
HEADER
</div>

<div class="row">
  <div class="col-md-4">
  SIDEBAR
  </div>
  <div class="col-md-8">
    <div class="col-md-12">
    content1
    </div>
    <div class="col-md-12">
    content2
    </div>
  </div>
</div>

<div class="row">
FOOTER
</div>
Comments