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 is required to process package imports. If you need a different preprocessor remove all packages first.

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

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 or require. We'll also process your JavaScript with Babel.

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

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.

Editor Settings

Code Indentation

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

Visit your global Editor Settings.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <nav class="navbar navbar-default navbar-inverse navbar-fixed-top">
  <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=".navbar-collapse">
        <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="#">Some Webdesign Studio</a>
    </div>
    <div class="collapse navbar-collapse navbar-right" id="navbar-collapse-1">
      <ul class="nav navbar-nav">
        <li class="active"><a href="#">About <span class="sr-only">(current)</span></a></li>
        <li><a href="#portfolio">Portfolio</a></li>
        <li><a href="#contact">Contact</a></li>
      </ul>
    </div>
    <!-- /.navbar-collapse -->
  </div>
  <!-- /.container-fluid -->
</nav>
<div class="container container-fluid">
  <div class="first-part">
    <div class="row top-row">
      <div class="col-xs-12 text-center site-heading">
        <h1 class="font-primary white-text">Hi, I'm Matt</h1>
      </div>
    </div>
    <div class="row top-row">
      <div class="col-md-12 text-center">
        <h2 class="font-primary white-text">developer | student | nerd</h2>
      </div>
    </div>
    <div class="row bottom-row">
      <div class="col-sm-3 col-sm-offset-3 vcenter">
        <img src="https://pbs.twimg.com/profile_images/512708501840228352/MbawoT5E.jpeg" class="img-responsive img-circle img-about" alt="Photo">
      </div>
      <div class="panel small-panel col-sm-3 vcenter">
        <div class="panel-heading">
          <h3 class="panel-title text-center font-primary black-text">About</h3>
        </div>
        <p>Hello I'm Matt and this is a portfolio website for FreeCodeCamp. I may or may not use this in the future as my actual portfolio. Meanwhile it's a portfolio of a fictional web design firm: "Some Web Design Studio"</p>
      </div>
    </div>
  </div>
  
 <div class="second-part"> 
  
  <div class="row" id="portfolio">
    <div class="col-xs-12 text-center">
      <h2 class="font-primary white-text">	&lt;portfolio&gt;</h2>
    </div>
  </div>
  <div class="row portfolio-row">
    <div class="col-md-4">
      <a href="https://codepen.io/LordMathis/full/PGYbGa/" target="_blank">
        <img src="https://res.cloudinary.com/dsgp0sorj/image/upload/v1473604701/xino_dn7zan.jpg" alt="Hitchhiker's Guide to the Galaxy Tribute Page" class="img-about img-responsive center-block">
      </a>
    </div>
    
    <div class="col-md-4">
      <img src="http://placehold.it/320x240" alt="placeholder" class="img-about img-responsive center-block">
    </div>

    <div class="col-md-4">
      <img src="http://placehold.it/320x240" alt="placeholder" class="img-about img-responsive center-block">
    </div>
  </div>
  
    <div class="row portfolio-row">
    
    <div class="col-md-4">
      <img src="http://placehold.it/320x240" alt="placeholder" class="img-about img-responsive center-block">
    </div>
      
    <div class="col-md-4">
      <img src="http://placehold.it/320x240" alt="placeholder" class="img-about img-responsive center-block">
    </div>

    <div class="col-md-4">
      <img src="http://placehold.it/320x240" alt="placeholder" class="img-about img-responsive center-block">
    </div>
  </div>
  
  <div class="row">
    <div class="col-xs-12 text-center">
      <h2 class="font-primary white-text">	&lt;/portfolio&gt;</h2>
    </div>
  </div>
   
  </div>

  <div class="final-part">
  
  <div class="row" id="contact">
    <div class="col-md-6 col-xs-12 col-md-offset-3 text-center">
      <a href="https://www.linkedin.com/in/matúš-námešný-3903b6128" target="_blank">
        <i class="fa fa-linkedin fa-5x"></i></a>
      <a href="https://twitter.com/matus_n" target="_blank">
        <i class="fa fa-twitter fa-5x" aria-hidden="true"></i></a>
      <a href="https://github.com/LordMathis" target="_blank">
        <i class="fa fa-github fa-5x" aria-hidden="true"></i></a>
      <a href="mailto:email@example.com" target="_blank">
        <i class="fa fa-envelope fa-5x" aria-hidden="true"></i></a>
    </div>
  </div>
</div>
</div>
            
          
!
            
              body {
  height: 100%;
  font-family: 'Rubik', sans-serif;
  background-color: #F7F5E6;
}

html {
  height: 100%;
}

.white-text {
  color: #F5F5F5;
  text-shadow: -1px 0 #292929, 0 1px #292929, 1px 0 #292929, 0 -1px #292929;
}

.black-text {
  color: #292929;
}

.font-primary {
  font-family: 'Source Code Pro', monospace;
}

.small-panel {
  border-style: solid;
  border-width: 5px;
  border-color: #292929;
  background-color: rgb(255,255,255);
  background-color: rgba(255,255,255,0.8);
}

.panel-title {
  font-size: 2em;
  color: #292929;
}

.small-panel p {
  padding: 5px;
  text-align: justify;
  font-size: 1.2em;
  color: #292929;
}

.img-about {
  border-style: solid;
  border-width: 5px;
  border-color: #292929;
}

.vcenter {
  display: inline-block;
  vertical-align: middle;
  float: none;
}

h1 {
  padding-top: 0.5em;
  font-size: 6em;
}

h2 {
  margin-top: 0;
  margin-bottom: 20px;
}

.bottom-row {
  margin-top: 10em;
  margin-bottom: 5em;
}

i {
  color: #F5F5F5;
  text-shadow: -1px 0 #292929, 0 1px #292929, 1px 0 #292929, 0 -1px #292929;
  margin: 10px 20px 10px 20px;
}

.first-part {
  min-height: 100vh;
}

.first-part, .second-part, .final-part {
  background-color: #333A56;
  border-radius: 20px;
}

.final-part {
  margin-top: 70px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.portfolio-row{
  margin-bottom: 20px;
}
            
          
!
999px

Console