Content Above The Fold

HTML
<meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script> <script type="text/javascript" src="//netdna.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script> <link href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css"> <link href="//pingendo.github.io/pingendo-bootstrap/themes/default/bootstrap.css" rel="stylesheet" type="text/css"> <div class="big-header" style="background-image:url(https://images.unsplash.com/photo-1479750538326-d7a4e460010c?dpr=1&auto=format&fit=crop&w=1500&h=948&q=80&cs=tinysrgb&crop=);"> <div class="footer-box"> <div class="box">Above the fold content</div> <div class="box">Above the fold content</div> <div class="box">Above the fold content</div> <div class="box">Above the fold content</div> </div> </div> <div class="section"> <div class="container"> <div class="row"> <div class="col-md-6"> <img src="http://pingendo.github.io/pingendo-bootstrap/assets/placeholder.png" class="img-responsive"> </div> <div class="col-md-6"> <h1 class="text-primary">A title</h1> <h3>A subtitle</h3> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi.</p> </div> </div> </div> </div> <div class="section"> <div class="container"> <div class="row"> <div class="col-md-6"> <h1 class="text-primary">A title</h1> <h3>A subtitle</h3> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi.</p> </div> <div class="col-md-6"> <img src="http://pingendo.github.io/pingendo-bootstrap/assets/placeholder.png" class="img-responsive"> </div> </div> </div> </div> <div class="section"> <div class="container"> <div class="row"> <div class="col-md-12"> <h1 class="text-center text-primary">Team</h1> <p class="text-center">We are a group of skilled individuals.</p> </div> </div> <div class="row"> <div class="col-md-4"> <img src="http://pingendo.github.io/pingendo-bootstrap/assets/user_placeholder.png" class="center-block img-circle img-responsive"> <h3 class="text-center">John Doe</h3> <p class="text-center">Developer</p> </div> <div class="col-md-4"> <img src="http://pingendo.github.io/pingendo-bootstrap/assets/user_placeholder.png" class="center-block img-circle img-responsive"> <h3 class="text-center">John Doe</h3> <p class="text-center">Developer</p> </div> <div class="col-md-4"> <img src="http://pingendo.github.io/pingendo-bootstrap/assets/user_placeholder.png" class="center-block img-circle img-responsive"> <h3 class="text-center">John Doe</h3> <p class="text-center">Developer</p> </div> </div> </div> </div>
CSS
.big-header{ display:table; position:relative; width:100%; height:100vh; background-color:#333; margin: 0 0 60px 0; background-size:cover; background-position:center center; background-repeat:no-repeat; } .footer-box{ display:block; position:absolute; bottom:0; width:calc(100%); height:25vh; min-height:300px; padding: 10px 20px 10px 20px; } .footer-box .box{ width:calc(25% - 40px); float:left; margin:20px; background-color: #efefef; height:calc(100% - 60px); margin-bottom:20px; border-radius:6px; -webkit-border-radius:6px; background-color:#efefef; text-align:center; }
JAVASCRIPT
Expand for more options Login