Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
<!DOCTYPE html>
<meta name="viewport" content="width=device-width, initial-scale=1">
.body-container {
height: 1500px;
.navbar-fixed-top {
position: fixed;
border: 1px solid black;
width: 100%;
.main_body {
position: absolute;
top: 0;
bottom: 0;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
<div class='main_body'>
<nav class="navbar-fixed-top">
<div class="body-container">
<div class="starter-template">
<h1>Bootstrap starter template</h1>
<p class="lead">Use this document as a way to quickly start any new project.<br> All you get is this text and a mostly barebones HTML document.</p>
</div><!-- /.container -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.