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

              
                <body data-spy="scroll" data-target=".navbar" data-offset="10">
  <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation">
    <div class="container">
      <div class="navbar-header">        
        <a href="https://codepen.io/fu11st4ck/" class="navbar-brand highlight" target="_blank">Element</a>
        <a class="glyphicon glyphicon-menu-hamburger navbar-toggle" data-toggle="collapse" data-target="#links" role="navigation"></a>
      </div>
      <div id="links" class="collapse navbar-collapse navbar-right">
        <ul class="nav navbar-nav">
          <li class="highlight"><a href="#about">About</a></li>
          <li class="highlight"><a href="#portfolio">Portfolio</a></li>
          <li class="highlight"><a href="#contact">Contact</a></li>
        </ul>
      </div>
    </div><!-- end container -->
  </nav>
  <!-- end nav -->
  <div class="text-center wrapper">
    <div class="about">
      <div class="row">
        <div class="col-sm-8 col-md-8">
          <h1 id="about">Elemental Web Development</h1>
          <h3>Bringing Your Vision To Reality</h3>
          <p>The name is Ivan and I'm a full stack web developer, with extensive practical experience in small business eCommerce; devoted to following future trends in functionality and design. Everything I build is compatible with all devices and screen sizes, so you can rest assured that your site will be seen in the right light.</p>
          <h4>Ivan Huddleston</h4>
      <h5>Web Developer</h5>
        </div>
        <div class="col-sm-1 col-md-1"></div>
        <div class="col-sm-3 col-md-3">
          <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/545663/profile/profile-512_2.jpg" class="profile-pic img-responsive img-circle">
        </div>
      </div><!-- end row -->
    </div>
  <!-- END about -->

    <div id="portfolio" class="portfolio">
      <h3 class="text-center">Portfolio</h3>
      <!-- add projects (completed through FCC) into their own container div with respective border and styling -->
      <div class="row">
        <div class="col-sm-6 col-md-6">
          <div class="thumbnail img-responsive">
            <a href="https://codepen.io/fu11st4ck/pen/qZrNXQ"><img src="http://oregongreenhost.com/images/michael-landon.PNG" alt="Michael Landon Tribute" target="_blank"/>Michael Landon Tribute</a>
          </div>
          <div class="thumbnail img"></div>
          <div class="thumbnail img"></div>
        </div>
        <div class="col-sm-6 col-md-6">  
          <div class="thumbnail img">
            <a href="http://tannerite.com" target="_blank"><img src="http://oregongreenhost.com/images/tannerite.png" alt="Tannerite Sports" target="_blank"/>Tannerite Sports</a>
          </div>
          <div class="thumbnail img"></div>
          <div class="thumbnail img"></div>
        </div>
      </div>  
    </div>
    <!-- END portfolio -->

    <div id="contact" class="text-center contact">
      <!-- Add divs, icons, borders, background, hover, links -->
      <h3>Ivan Huddleston</h3>
      <h4>Web Designer &amp; Developer</h4>
      <div class="button-set">
        <button class="btn"><a href="https://www.linkedin.com/in/ivan-huddleston-076700b5" target="_blank">LinkedIn</a></button>
        <button class="btn"><a href="https://github.com/oghosting">Github</a></button>
        <button class="btn"><a href="https://codepen.io/fu11st4ck/" target="_blank">CodePen</a></button>
        <button class="btn"><a href="https://www.freecodecamp.com/oghosting" target="_blank">freeCodeCamp</a></button>
      </div>
    </div>
    <!-- END contact -->
    </div>
    <footer class="text-center">
      <p>Copyright &copy; 2017 Element Web Development. All Rights Reserved.</p>
    </footer>
  </body>
              
            
!

CSS

              
                body {
  background-color: #888;
}
.navbar-inverse {
  background-color: #23A341;
  color: #000;
}
a.navbar-brand {
  background-color: #333;
  color: #eee;
}
.highlight > a {
  background-color: #333;
}
.wrapper {
  margin: 0 5%;
}
.about {
  margin: 0 auto;
  padding: 10%;
  background: #aaa;
}
.about p{
  padding: 5% 5% 3% 3%;
  font-size: 16px;
  color: #fff;
}
.portfolio {
  background-color: #eee;
  padding: 5%;
}
.profile-pic{
  margin: 0 auto;
  max-width: 250px;
}
.contact {
  background-color: #eee;
  padding: 5%;
}
.btn {
  background-color: #23A341;
  border: 1px solid #000;
  box-shadow: 1px 1px #333;
}
.btn a {
  color: #eee;
}
.btn a:hover {
  color: #000;
}
footer {
  padding: 1%;
  border: 1px solid #000;
  background-color: #23A341;
  background-size: cover;
}
a:hover {
  text-decoration: none;
}
              
            
!

JS

              
                
              
            
!
999px

Console