cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

            
              
<div class="wrapper-page">
	
	<!-- NAVIGATION -->
	<nav class="navbar navbar-default navbar-fixed-top">
		<div class="container-fluid">
			<!-- Brand and Toggle Bar grouped together 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="" href="#">
					<img class="navbar-brand" 
							 src="https://placeholdit.imgix.net/~text?txtsize=33&txt=thematic%20image&w=350&h=150" />
				</a>
			</div>

			<!-- TOGGLING DROPDOWN SET OF LINKS w/ SEPARATORS -->
			<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
				<ul class="nav navbar-nav">
					<li class="active"><a href="#">Link <span class="sr-only">(current)</span></a></li>
					<li><a href="#">Link</a></li>
					<li class="dropdown">
						<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></a>
						<ul class="dropdown-menu">
							<li><a href="#">Action</a></li>
							<li><a href="#">Another action</a></li>
							<li><a href="#">Something else here</a></li>
							<li role="separator" class="divider"></li>
							<li><a href="#">Separated link</a></li>
							<li role="separator" class="divider"></li>
							<li><a href="#">One more separated link</a></li>
						</ul>
					</li>
				</ul>
				
				<!-- NAVBAR RIGHT-SIDE -->
				<ul class="nav navbar-nav navbar-right">
					<li><a href="#">Link</a></li>
					<li class="dropdown">
						<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></a>
						<ul class="dropdown-menu">
							<li><a href="#">Action</a></li>
							<li><a href="#">Another action</a></li>
							<li><a href="#">Something else here</a></li>
							<li role="separator" class="divider"></li>
							<li><a href="#">Separated link</a></li>
						</ul>
					</li>
				</ul>
			</div><!-- /.navbar-collapse -->
		</div><!-- /.container-fluid -->
	</nav>
	
  <header id="banner">
    <h1 class="text-uppercase"><i class="fa fa-fw fa-columns"> </i>
			<span>Bootstrap 3 </span>
			<small>Example Grid Layout</small> 
			<small>(<em>cf</em>. <a href="https://getbootstrap.com/components/" target="_blank">
				getbootstrap.com</a>)</small>
		</h1>
  </header>
	
  <main>
    <div class="row row-height-full">
			<!-- EXAMPLE USE OF BOOTSTRAP COL- TIERS -->
			<div class="col-xs-12 col-sm-4 col-md-4 col-full-height column-bg">
				<header>
					<h2>Article Heading</h2>
				</header>
				<article>
					<p>
						Lorem ipsum dolor sit amet, consectetur adipisicing elit. Vitae placeat nulla labore est quia, 
						deleniti molestiae dolorum. Non tempora ab rerum odio dolorem iure unde, debitis, molestiae, 
						laudantium voluptates explicabo.  Lorem ipsum dolor sit amet, consectetur adipisicing elit. 
						At molestias, omnis ad tempora alias possimus beatae assumenda sequi repellendus, nihil amet 
						tenetur sint natus quae culpa animi ipsa unde. Temporibus!</p>
				</article>
			</div>
			
			<div class="col-xs-12 col-sm-4 col-md-4 col-full-height column-bg">
					<header>
						<h2>Article Heading</h2>
					</header>
					<article>
						<p>
							Lorem ipsum dolor sit amet, consectetur adipisicing elit. Vitae placeat nulla labore est quia, 
							deleniti molestiae dolorum. Non tempora ab rerum odio dolorem iure unde, debitis, molestiae, 
							laudantium voluptates explicabo.</p>
						<p>
							Lorem ipsum dolor sit amet, consectetur adipisicing elit. Vitae placeat nulla labore est quia, 
							deleniti molestiae dolorum. Non tempora ab rerum odio dolorem iure unde, debitis, molestiae, 
							laudantium voluptates explicabo.  Lorem ipsum dolor sit amet, consectetur adipisicing elit. 
							At molestias, omnis ad tempora alias possimus beatae assumenda sequi repellendus, nihil amet 
							tenetur sint natus quae culpa animi ipsa unde. Temporibus!</p>
					</article>
        </div>
			
			<div class="col-xs-12 col-sm-4 col-md-4 col-full-height column-bg">
				<header>
					<h2>Article Heading</h2>
				</header>
				<article>
					<p>
						Lorem ipsum dolor sit amet, consectetur adipisicing elit. Vitae placeat nulla labore est quia, 
						deleniti molestiae dolorum. Non tempora ab rerum odio dolorem iure unde, debitis, molestiae, 
						laudantium voluptates explicabo.  Lorem ipsum dolor sit amet, consectetur adipisicing elit. 
						At molestias, omnis ad tempora alias possimus beatae assumenda sequi repellendus, nihil amet 
						tenetur sint natus quae culpa animi ipsa unde. Temporibus!</p>
				</article>
			</div>
    </div><!-- /END ROW -->
  </main>
</div>
<footer class="aliceblue-bg grey-border">
  <div class="container-fluid">
    <div class="row">
      <div class="col-xs-12">
        <p class="text-center"><a href="#" target="_top">Bootstrap 3 Example</a></p>
      </div>
    </div>
    <div class="row">
      <div class="col-xs-12">
        <p class="text-center">
					<span class="glyphicon glyphicon-thumbs-down" aria-hidden="true"></span>
					<span>Blah blah blah footer content</span>
					<span class="glyphicon glyphicon-thumbs-down" aria-hidden="true"></span>
				</p>
      </div>
    </div>
  </div>
</footer>
            
          
!
            
              /* Custom Styles */

nav img.navbar-brand {
	padding: 0px;
	margin: auto 15px;
}

header {
	background-color: aliceblue;
	padding: 5em 0em 5em 0em;
	margin-top: 75px;
}
header#banner {
  text-align: center;
	border: grey 3px solid;
}
header#banner h1 small:nth-child(2n) {
	font-size: 0.45em;
	text-transform: lowercase;
}

footer {
  width: 100%;
}
footer p,
footer span,
footer a {
  font-weight: 300;
  font-family: 'Lato';
  font-size: 11px;
  color: #000;
}
footer span {
  margin-right: 7px;
  color: #000;
}
footer span,
footer a {
  margin: 0 20px 0 0;
}

body {
  font-family: 'Lato';
  color: #000;
  background: #F2F2F2;
  padding: 10px;
}
h1,
h2,
h3,
h4 {
  text-align: center;
  font-weight: 300;
}
h1 small,
h2 small,
h3 small,
h4 small {
  font-weight: 300;
  color: #000;
}
ul {
  margin: 0;
  padding-left: 1.5em;
}

.aliceblue-bg {
  background: #E3EAEA;
  padding: 0.75em;
}
.grey-border {
	border: grey 3px solid;
}

.row {
  margin: 7px 0px;
}
[class*='col-md'] {
	margin: 15px 0px 25px 0px;
}

            
          
!
999px
Close

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.

Go PRO

Loading ..................

Console