Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"Hello World"
Bootstrap 3.3.0 Snippet by
JesusKostov
3.3.0
Preview
HTML
CSS
View Full Screen
Fork
Fork this
2.0K
 
0 Fav
Post to Facebook
Tweet this
<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 ----------> <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <link rel="stylesheet" href="css/bootstrap.css"/> <link rel="stylesheet" href="style.css"/> </head> <body> <nav id="nav_bar" class="navbar navbar-default"> <div class="container-fluid"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="#">Brand</a> </div> <!-- Collect the nav links, forms, and other content for toggling --> <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> <ul class="nav navbar-nav"> <li><a href="#">Home <span class="sr-only">(current)</span></a></li> <li><a href="#">News</a></li> <li><a href="#">About</a></li> <li><a href="#">Contact</a></li> </ul> <ul class="nav navbar-nav navbar-right"> <button type="button" class="btn btn-default navbar-btn regg">Sign in</button> </ul> </div><!-- /.navbar-collapse --> </div><!-- /.container-fluid --> </nav> <div class="row"> <div id="cont" class="col-md-6"> <div id="midd" class="jumbotron"> <h1>Hello, world!</h1> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aliquid animi asperiores commodi, consequatur deleniti doloribus, eos esse expedita magni provident, quae quam quibusdam repudiandae rerum suscipit velit vitae voluptate? Cumque.</p> <p><a id="more_btn" class="btn btn-primary btn-lg" href="#" role="button">Learn more</a></p> </div> </div> </div> <script src="js/bootstrap.js"></script> <script src="http://code.jquery.com/jquery-1.12.2.min.js"></script> </body> </html>
body{ background: url("http://www.fg-a.com/wallpapers/geo-shapes-black-1280.jpg") no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; } #nav_bar{ background-color: transparent; border: none; } #nav_bar a{ color: rgba(255,255,255,0.6); font-weight: bold; padding: 20px 30px; } #nav_bar a:hover{ color: white; } .regg{ background-color: transparent; border: none; color: rgba(255,255,255,0.6); font-weight: bold; font-size: 17px; -moz-transition: 400ms; } #cont{ float: none; margin: 0 auto; } #midd{ background-color: transparent; color: white; text-align: center; margin-top: 50px; } #more_btn{ background-color: transparent; padding: 10px 60px; border: 1px solid white; margin-top: 20px; -moz-transition: 400ms; } #more_btn:hover{ background-color: white; color: black; -moz-transition: 400ms; }
Related:
See More
Template
Material Kit Pro
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76