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. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ 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

              
                <header class="container-fluid">
  <div class="navbar navbar-inverse navbar-fixed-top">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#robsNavBar" 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="#"><strong>Rob j Loranger</strong></a>
    </div>
    <div id="robsNavBar" class="collapse navbar-collapse navbar-right">
      <ul class="nav navbar-nav">
        <li><a href="#top" data-toggle="collapse" data-target="#robsNavBar">Home</a></li>
        <li><a href="#about" data-toggle="collapse" data-target="#robsNavBar">About</a></li>
        <li><a href="#portfolio" data-toggle="collapse" data-target="#robsNavBar">Porfolio</a></li>
        <li><a href="#" data-toggle="collapse" data-target="#robsNavBar">Blog</a></li>
        <li><a href="#contact" data-toggle="collapse" data-target="#robsNavBar">Contact</a></li>
      </ul>
    </div>
  </div>
</header>
<!-- end header -->
<!-- begin home page section -->
<a name='top'></a>
<section class="container-fluid home">
  <div class="row text-center">
    <h1>Rob j Loranger</h1>
    <h2>Software Developer</h2>
    <div class="col-xs-12 homeNav">
      <a class="btn btn-lg btn-default" href="#"><i class="fa fa-twitter"></i>&nbsp;Twitter</a>
      <a class="btn btn-lg btn-default" href="#"><i class="fa fa-github-alt"></i>&nbsp;Github</a>
      <a class="btn btn-lg btn-default" href="#"><i class="fa fa-linkedin"></i>&nbsp;Linkedin</a>
      <a class="btn btn-lg btn-default" href="#"><i class="fa fa-fire"></i>&nbsp;freeCodeCamp</a>
    </div>
  </div>
</section>
<!-- end home page section -->
<!-- begin about section -->
<a name='about'></a>
<section class="container-fluid about">
  <div class="col-sm-7">
    <h2>Web Designs by Rob.</h2>
    <p class="lead">
      I first taught myself to code on a C64 using Commadore Basic. I've since been messing around on and off, making my own static sites and Wordpress themes. Between my digital youth and <a href="#">freeCodeCamp</a> my competencies now include: HTML5,
      CSS3, jQuery, Javascript and Wordpress. I am also used to working with Git, the command line, linux etc.
    </p>
  </div>
  <div class="col-sm-5">
    <img class="img-responsive img-circle center-block" src="http://www.gravatar.com/avatar/7d3a243c56f5c78de71829544e6395ad?s=200" />
  </div>
</section>
<!-- end about section -->
<!-- begin portfolio section -->
<a name='portfolio'></a>
<section class="container-fluid portfolio">
  <h2>Recent Portfolio</h2>
  <h2><small>Below are some of my most recent projects</small></h2>
  <div class="row">
    <img class="col-sm-12 col-md-4 img-rounded img-responsive portPhoto" src="http://www.engraversnetwork.com/files/placeholder.jpg" />
    <img class="col-sm-12 col-md-4 img-rounded img-responsive portPhoto" src="http://www.engraversnetwork.com/files/placeholder.jpg" />
    <img class="col-sm-12 col-md-4 img-rounded img-responsive portPhoto" src="http://www.engraversnetwork.com/files/placeholder.jpg" />
  </div>
  <div class="row">
    <img class="col-sm-12 col-md-4 img-rounded img-responsive portPhoto" src="http://www.engraversnetwork.com/files/placeholder.jpg" />
    <img class="col-sm-12 col-md-4 img-rounded img-responsive portPhoto" src="http://www.engraversnetwork.com/files/placeholder.jpg" />
    <img class="col-sm-12 col-md-4 img-rounded img-responsive portPhoto" src="http://www.engraversnetwork.com/files/placeholder.jpg" />
  </div>
</section>
<!-- end portfolio section -->
<!-- begin contact section -->
<a name='contact'></a>
<section class="container-fluid contact">
  <div class="row">
    <div class="col-sm-4 col-lg-6">
      <h2>Connect with me!</h2>
      <h3>rob @ robloranger DOT ca</h3>
    </div>
    <div class="col-sm-8 col-lg-6 connectNav">
      <a class="btn btn-lg btn-default" href="#"><i class="fa fa-twitter"></i>&nbsp;Twitter</a>
      <a class="btn btn-lg btn-default" href="#"><i class="fa fa-github-alt"></i>&nbsp;Github</a>
      <a class="btn btn-lg btn-default" href="#"><i class="fa fa-linkedin"></i>&nbsp;Linkedin</a>
      <a class="btn btn-lg btn-default" href="#"><i class="fa fa-fire"></i>&nbsp;freeCodeCamp</a>
    </div>
  </div>
</section>
<!-- end contact section -->
<!-- begin page footer -->
<footer class="container-fluid">
  <div class='row'>
    <div class='col-sm-6'>
      <p><small>Copyright <i class="fa fa-copyright"></i> 2015 Rob j Loranger</small></p>
    </div>
    <div class='col-sm-6'>
      <ul class="list-inline">
        <li><a href="#top">Back to Top</a></li>
        <li><a href="#about">About</a></li>
        <li><a href="#portfolio">Porfolio</a></li>
        <li><a href="#">Blog</a></li>
        <li><a href="#contact">Contact</a></li>
      </ul>
    </div>
  </div>
</footer>
              
            
!

CSS

              
                body{
  background-image:  linear-gradient(hsla(107,85%,2.5%,.85),hsla(107,85%,2.5%,.85)), url(https://c2.staticflickr.com/6/5624/20566850901_01de54bc9b_k.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #ccc;
  min-width: 250px;
}
.navbar-fixed-top{
  padding: 0 1em;
  min-width: 250px;
}
section{
  min-height: 55vh;
  padding: 140px 0;
}
.home{
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}
.home h1{
  font-size: 64px;
  font-weight: bold;
  margin-bottom: 0;
}
.home h2{
  font-size: 34px;
  margin-top: 0;
}
.homeNav{
  margin-top: 2em;
}
.about{
  background-color: hsla(107,31%,67%,1);
  color: hsla(107,31%,7%,1);
}
.portfolio{
  background-color: hsla(107,31%,7%,1);
  color: hsla(107,31%,67%,1);
  min-height: 100vh;
}
.portPhoto{
  margin: 40px 0;
}
.contact{
  background: linear-gradient(hsla(107,31%,10%,.6),hsla(107,31%,10%,.6)), url("http://c2.staticflickr.com/2/1655/24811928011_f8f4b15f88_k.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  text-align: center;
}
.connectNav{
  text-align: right;
  margin-top: 40px;
}
footer{
  background-color: #222;
  border-top: 1px solid #080808;
  padding: 20px 10px;
  height: 80px;
}
section.contact h2{
  font-size: 56px;
  margin: 0;
}
section.contact h3{
  font-size: 28px;
  margin: 0;
}
ul.list-inline{
  text-align: right;
}
@media screen and (max-width: 570px){
  .homeNav > .btn, .connectNav > .btn{
    display: block;
  }
  footer, ul.list-inline{
    text-align: center;
  }
}
@media screen and (max-width: 991px){
  .connectNav{
    text-align: center;
  }
  section.contact h2{
    font-size: 42px;
  }
  section.contact h3{
    font-size: 22px;
  }
}
              
            
!

JS

              
                
              
            
!
999px

Console