"full width background with fixed content"
Bootstrap 3.3.0 Snippet by gpryce-medullan

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container-fluid"> <div class="row"> <div class="container-fluid background-1"> <div class="container"> <div class="row"> <div class="col-md-6">First</div> <div class="col-md-3">Second</div> <div class="col-md-1 col-md-offset-1">third</div> <col-md-1>last</col-md-1> </div> </div> </div> </div> <div class="row"> <div class="container-fluid background-2"> <div class="container"> <div class="row"> <div class="col-md-6">First</div> <div class="col-md-1 col-md-offset-1">second</div> <col-md-1>last</col-md-1> </div> </div> </div> </div> </div>
.background-1{ background-color:black; } .background-2{ background-color:green; }

Related: See More


Questions / Comments: