Created
December 9, 2015 08:37
-
-
Save saadbinakhlaq/6272d7268389a868ec0d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<style> | |
.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; | |
} | |
</style> | |
</head> | |
<body> | |
<div class='main_body'> | |
<nav class="navbar-fixed-top"> | |
<p> | |
hi | |
</p> | |
</nav> | |
<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> | |
</div><!-- /.container --> | |
</div> | |
</body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment