Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <nav 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 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><a href="#">Separated link</a></li>
            <li><a href="#">One more separated link</a></li>
          </ul>
        </li>
      </ul>
      <form class="navbar-form navbar-left" role="search">
        <div class="form-group">
          <input type="text" class="form-control" placeholder="Search">
        </div>
        <button type="submit" class="btn btn-default">Submit</button>
      </form>
      <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><a href="#">Separated link</a></li>
          </ul>
        </li>
      </ul>
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</nav>

<div class="header">
	<div class="well"></div>
</div>

<div class="container">
	<div class="module-box">
		<div class="row">
			<div class="col-lg-4">
				<div id="profile-information">
					<div class="profile-img">
							<img data-src="holder.js/100px250" class="img-thumbnail">
					</div>
					<div class="profile-gap"></div>
					<div class="profile-username">
						<a href="">@johndoe</a>
					</div>
					<div class="profile-gap"></div>
					<div class="profile-friends">
						Your Friends Total: <a href="">5</a>
					</div>
				</div>
			</div>
			<div class="col-lg-5">
				<h3>John Doe</h3>
				Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
				tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
				quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
				consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
				cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
				proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
			</div>
			<div class="col-lg-3 well clearfix">
				<div class="">
					<div class=""></div>
				</div>
			</div>
		</div>
	</div>
</div>

<script src="https://code.jquery.com/jquery-2.2.3.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
              
            
!

CSS

              
                body {
	background-color: #F0F0F0;
}

.header .well {
	min-height: 380px;
	background-color: #375775;
	border-radius: 0;
}

.module-box {
	border-radius: 5px;
	background-color: #FFF;
	min-height: 50px;
	padding: 0;
	margin-top: -15rem;
	margin-right: 0;
	background: #fff none repeat scroll 0 0;
    border-radius: 4px;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08), 0 2px 4px 0 rgba(0, 0, 0, 0.12);
}

.navbar-default {
	margin-bottom: 0;
}

#profile-information {
	margin-top: -20px;
	/*padding-left: 20px;*/
}

.profile-gap {
	margin-top: 20px;
	margin-bottom: 20px;
}

.profile-username {
	text-align: center;
}

.profile-username a {
	color: #1f2836;
	font-size: 2rem;
	font-weight: 400px;
}

.profile-friends {
	text-align: center;
	margin-bottom: 20px
}

.profile-friends a {
	color: #1f2836;
	font-size: 1.5rem;
	font-weight: 400px;
	
}

.profile-edit .well {
	height: 100%;
}


.module-box .row {
  overflow: hidden; 
}

.module-box [class*="col-"]{
  margin-bottom: -99999px;
  padding-bottom: 99999px;
}

@media screen and (min-width:750px) {
	.navbar-default .navbar-nav .dropdown ul.dropdown-menu:before {
	    content: "";
	    border-bottom: 10px solid #fff;
	    border-right: 10px solid transparent;
	    border-left: 10px solid transparent;
	    position: absolute;
	    top: -10px;
	    left: 16px;
	    z-index: 10;
	}
	.navbar-default .navbar-nav .dropdown ul.dropdown-menu:after {
	    content: "";
	    border-bottom: 12px solid #ccc;
	    border-right: 12px solid transparent;
	    border-left: 12px solid transparent;
	    position: absolute;
	    top: -12px;
	    left: 14px;
	    z-index: 9;
	}
}

.navbar-default .navbar-nav .open .dropdown-menu > li {
	padding: 8px 24px;
}

.navbar-default .navbar-nav .open .dropdown-menu > li > a, 
.navbar-default .navbar-nav .open .dropdown-menu {
    color: #1f2836;
}

.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
.navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
	background: none;
	color: #0088cf;
}
              
            
!

JS

              
                
              
            
!
999px

Console