Pen Settings



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


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


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.


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.


                <!-- Navigation -->
<nav class="navbar navbar-default" role="navigation">
  <div class="container-fluid">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>

    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav">
        <li class="pull-left"><a href="#">About</a></li>
        <li class="pull-left" ><a href="#">Portfolio</a></li>
        <li class="pull-left"><a href="#">Contact</a></li>
        <li class="active"><a href="#BA">Brad Anderson</a></li>
        <li class="social pull-right"><a href="#">Facebook</a></li>
        <li class="social pull-right"><a href="#">Instagram</a></li>
        <li class="social pull-right"><a href="#">LinkedIn</a></li>
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
<!-- HOME -->

<div id="#home" class="content-section">
  <div class="containter">
    <div class="row">
      <div class="image">
      <img src="" alt="mountains">
        <h1><span>Brad Anderson<br />Personal Portfolio</span></h1>
      </div> <!-- /Image -->
    </div> <!-- /# -->
  </div> <!-- /container -->
</div> <!-- row -->


                 /*--- NAV ---*/
.navbar-nav {
    width: 100%;
    text-align: center;
     float: none;
     display: inline-block;

/* you nested the li element inside .navbar-nav, and you're using css, not scss or sass, css doesn't support nesting as 


css supports only 
ul li {}
ul li a{}
-and so on.

/* -- That's what you should done. */
.navbar-nav li{
  float: none;
  display: inline-block;
/* -- That's what you should done. ^^ */

/*--- HOME ---*/
.image {
  position: relative;
  width: 100%;
h1 {
  position: absolute;
  top: 100px;
  left: 100px;
  width: 100%;
  color: black;
  font-family: Monospace;
  font-size: 90px;
h2 span { 
   color: white; 
   font: bold 24px/45px Helvetica, Sans-Serif; 
   letter-spacing: -1px;  
   background: rgb(0, 0, 0); /* fallback color */
   background: rgba(0, 0, 0, .7);
   padding: 10px;