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 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

Looking for quick-add? Try the external resource search, it's quicker and gives you access to the most recent version of thousands of libraries. ☝️

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Looking for quick-add? Try the external resource search, it's quicker and gives you access to the most recent version of thousands of libraries. ☝️

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

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="navbar navbar-default navbar-fixed-top dark">
  
  <div class="container">
    <div class="navbar-header">
      <a href="#" class="navbar-brand">
        <i class="fa fa-bug" aria-hidden="true"></i> gnuns
      </a>
      <button class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar"><i class="fa fa-bars" aria-hidden="true"></i></button>
    </div>
    <div id="navbar" class="navbar-collapse collapse">
      <ul class="nav navbar-nav navbar-right">
        <li class="active"><a href="#about">about</a></li>
        <li><a href="#portfolio">portfolio</a></li>
        <li><a href="#contact">contact</a></li>
      </ul>
    </div>
  </div>
</div>

<div class="jumbotron" id="about">
  <div class="container">
    <div class="row">
      <div class="col-xs-3 col-md-2 col-sm-3">
        <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/311228/profile/profile-512_1.jpg" alt="" class="img-responsive img-circle" />
      </div>
      <div class="col-xs-9 col-md-6 col-sm-9">
        <h2>Hi, I'm Gabriel</h2>
        <h3>I write code for fun (and some money)</h3>
        <p>I like minimalist design, open source projects and create and <a href="https://en.wikipedia.org/wiki/Hacker">hack</a> things. </p>
      </div>
    </div>
  </div>
</div>
<div class="container portfolio" id="portfolio">
  <h2><i class="fa fa-code" aria-hidden="true"></i> Portfolio</h2>
  <div class="row">
    <div class="col-md-3 col-sm-4 portfolio-item">
      <img class="img-responsive" src="http://placehold.it/720x480/26AC5F/292B2C" alt="" />
    </div>
        <div class="col-md-3 col-sm-4 portfolio-item">
      <a href="https://google.com" target="_blank">
          <img class="img-responsive" src="http://placehold.it/720x480/26AC5F/292B2C" alt="" /></a>
    </div>
        <div class="col-md-3 col-sm-4 portfolio-item">
      <img class="img-responsive" src="http://placehold.it/720x480/26AC5F/292B2C" alt="" />
    </div>
        <div class="col-md-3 col-sm-4 portfolio-item">
      <img class="img-responsive" src="http://placehold.it/720x480/26AC5F/292B2C" alt="" />
    </div>
        <div class="col-md-3 col-sm-4 portfolio-item">
      <img class="img-responsive" src="http://placehold.it/720x480/26AC5F/292B2C" alt="" />
    </div>
        <div class="col-md-3 col-sm-4 portfolio-item">
      <img class="img-responsive" src="http://placehold.it/720x480/26AC5F/292B2C" alt="" />
    </div>
        <div class="col-md-3 col-sm-4 portfolio-item">
      <img class="img-responsive" src="http://placehold.it/720x480/26AC5F/292B2C" alt="" />
    </div>
        <div class="col-md-3 col-sm-4 portfolio-item">
      <img class="img-responsive" src="http://placehold.it/720x480/26AC5F/292B2C" alt="" />
    </div>
      
  </div>
</div>
<div class="jumbotron contact" id="contact">
  <div class="container">
    <div class="row">
      <div class="col-md-6 col-xs-12">
        <h2><i class="fa fa-envelope-o" aria-hidden="true"></i> Contact</h2>
        <p>Want to get in touch with me? Be it about web development, mars colonization or the best techniques to grow potatoes, you can send a mail to <a href="mailto:gabriel@multiverso.me">gabriel@multiverso.me</a> and I will answer ASAP</p>
        <p><strong>You can also find me on the links below:</strong></p>
        
        <ul class="list-inline social">
        <li><a href="https://twitter.com/gnuns" target="_blank"><i class="fa fa-twitter-square" aria-hidden="true"></i></a></li>
          <li><a href="https://github.com/gnuns" target="_blank"><i class="fa fa-github" aria-hidden="true"></i></a></li>
          <li><a href="https://freecodecamp.com/gnuns" target="_blank"><i class="fa fa-free-code-camp" aria-hidden="true"></i></a></li>
          <li><a href="https://codepen.io/hezag" target="_blank"><i class="fa fa-codepen" aria-hidden="true"></i></a></li>
        </ul>
      </div>
    </div>
  </div>
</div>
<footer>
  <div class="container">
    gnuns &copy; 2017 - some rights reserved
  </div>
</footer>
            
          
!
            
              body {
  padding-top: 50px;
  font-family: 'Open Sans', sans-serif;
}
h2 {
  font-size: 25px;
}
h3 {
  font-size: 19px;
}
p, .jumbotron p {
  font-size: 16px;
}

a {
  color: #26AC5F;
}
h2 i {
  color: #26AC5F;
}
a:hover,
a:focus {
  color: #26AC5F;
  text-decoration: none;
}

.navbar.dark {
  color: #fff;
  background-color: #292B2C;
}
.navbar.dark a {
  color: #fff;
}
.navbar.dark .active a,
.navbar.dark .active a:hover,
.navbar.dark .active a:focus {
  color: #292B2C;
  background-color: #26AC5F;
}
.navbar.dark ul li a:hover,
.navbar.dark ul li a:focus {
  color: #fff;
}
.jumbotron {
  margin-bottom: 0px;
  background-color: #F1F2F2;
}
.container.portfolio {
  padding-bottom: 35px;
}
.container.portfolio .portfolio-item {
  margin-top: 15px;
}
.jumbotron.contact {
  padding: 15px 0px;
  background-color: #292B2C;
  color: #fff;
}
.jumbotron.contact p {
  color:#f2f2f2;
}
.list-inline.social li {
  font-size: 30px;
}
footer {
  background-color: #26AC5F;
  width: 100%;
  font-size:13px;
  padding: 10px 0px;
}

            
          
!
            
              $('body').scrollspy({target: '#navbar', offset: 60 });
$('.navbar-nav a').on('click', function (e){
  e.preventDefault();
  if (!$(this).hasClass('active')) {
    $('.active').removeClass('active');
    $(this).addClass('active');
    
    var $target = $(this.hash);
    $('html, body')
    .stop()
    .animate({
      scrollTop: $target.offset().top - 50
    }, 500, 'swing');
  }
});
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console