Simple bootstrap landing page template.
A Pen by Tristan Schaeffer on CodePen.
| <head> | |
| <title>Startup Landing Page</title> | |
| </head> | |
| <body> | |
| <nav class="navbar navbar-default"> | |
| <div class="container"> | |
| <!-- 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="#">GreatApp</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 class="active"><a href="#">Home</a></li> | |
| <li><a href="#">About</a></li> | |
| <li><a href="#">Contact</a></li> | |
| </ul> | |
| <ul class="nav navbar-nav navbar-right"> | |
| <li><a href="#"><i class="fa fa-user-plus" aria-hidden="true"></i> Sign Up</a></li> | |
| <li><a href="#"><i class="fa fa-user" aria-hidden="true"></i> Login</a></li> | |
| </ul> | |
| </div><!-- /.navbar-collapse --> | |
| </div><!-- /.container --> | |
| </nav> | |
| <div class="container"> | |
| <div class="row"> | |
| <div class="col-lg-12"> | |
| <div id="content"> | |
| <h1>Upcoming App!</h1> | |
| <h3>Leggings venmo asymmetrical irony lyft.<br /><br /> Banh mi mustache food truck waistcoat williamsburg.<br /> Beard pork belly pour-over twee,<br />slow-carb cray quinoa scenester fam iPhone pitchfork.</h3> | |
| <hr /> | |
| <button class="btn btn-default btn-lg"><i class="fa fa-cloud-download" aria-hidden="true"></i> Download Now</button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- SCRIPTS | |
| BOOTSTRAP ALWAYS NEEDS JQUERY RAN FIRST --> | |
| <script src="https://code.jquery.com/jquery-2.1.4.js"></script> | |
| <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> | |
| </body> |
Simple bootstrap landing page template.
A Pen by Tristan Schaeffer on CodePen.
| html{ | |
| height: 100%; | |
| } | |
| body{ | |
| background-image: url(https://images.unsplash.com/photo-1484417894907-623942c8ee29?dpr=1&auto=format&fit=crop&w=1080&h=608&q=80&cs=tinysrgb&crop=); | |
| background-size:cover; | |
| background-position: center; | |
| color:white; | |
| } | |
| h1{ | |
| font-size: 5em; | |
| font-weight: bold; | |
| font-family: 'Space Mono', monospace; | |
| text-shadow: 0px 4px 3px rgba(0,0,0,0.4); | |
| text-shadow: 0px 8px 13px rgba(0,0,0,0.1); | |
| text-shadow: 0px 18px 23px rgba(0,0,0,0.1); | |
| } | |
| h3{ | |
| font-size:17px; | |
| font-family: 'Raleway', sans-serif; | |
| text-shadow: 0px 4px 3px rgba(0,0,0,0.4); | |
| text-shadow: 0px 8px 13px rgba(0,0,0,0.1); | |
| text-shadow: 0px 18px 23px rgba(0,0,0,0.1); | |
| } | |
| #content{ | |
| text-align:left; | |
| padding-top: 15%; | |
| } | |
| hr{ | |
| /* a horizontal rule can really help organize and 'clean up' landing pages... */ | |
| visibility:hidden; | |
| width: 400px; | |
| border-top: 1px solid #f8f8f8; | |
| border-bottom: 1px solid rgba(0,0,0,0.2); | |
| } | |
| .btn-default{ | |
| font-family: 'Space Mono', monospace; | |
| } |