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

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

              
                <!--NAV BAR -->
<nav class="navbar navbar-default navbar-fixed-top">
  <div class="container">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span> 
      </button>
      <a class="navbar-brand" href="#">MeMeMe</a>
    </div>
    <div class="collapse navbar-collapse" id="myNavbar">
      <ul class="nav navbar-nav navbar-right">
        <li><a href="#who">Who Am I?</a></li>
        <li><a href="#portfolio">Portfolio</a></li>
        <li><a href="#contact">Contact</a></li>
      </ul>
    </div>
  </div>
</nav>
<!--Body Containers-->
<div class="container-fluid bg-1">
  <h3 id="who">Who am I?</h3>
  <img src="https://goo.gl/STksKF" class="pull-right img-circle" alt="me">
  <h3>I'm a poet, but wasn't aware of the fact</h3>
  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec nec scelerisque nulla, et venenatis nibh. Duis cursus viverra nulla vitae posuere. Maecenas consequat elit eu sodales ultricies. Duis ut sem ut erat fermentum viverra at et velit. Pellentesque
    habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nam nec tempor dolor. Curabitur id nisi cursus, ultricies magna sed, congue magna.</p>
</div>

<div class="container-fluid bg-2">
  <h3 id="portfolio">Portfolio</h3>
  <p>Massive Business Deals I've closed</p>
  <div class="row">
    <div class="col-md-4">
      <figure class="figure">
        <img src="https://goo.gl/FrKHa2" class="figure-img img-thumbnail" alt="BusinessPic">
        <figcaption class="figure-caption">This glass coffee table was a hard sell without a telly to stick on top of it</figcaption>
      </figure>
    </div>
    <div class="col-md-4">
      <figure class="figure">
        <img src="https://goo.gl/vxB5Fx" class="figure-img img-thumbnail" alt="BusinessPic">
        <figcaption class="figure-caption">Jenny thought "If he touches me again I'll mirk him"</figcaption>
      </figure>
    </div>
    <div class="col-md-4">
      <figure class="figure">
        <img src="https://goo.gl/PedxNs" class="figure-img img-thumbnail" alt="BusinessPic">
        <figcaption class="figure-caption">It's 2018. It's cool if two dudes want to dance. But only if a Hillary Clinton body double watches...</figcaption>
      </figure>
    </div>
  </div>
  <!-----BOTTOM ROW-->
  <div class="row">
    <div class="col-md-4">
      <figure class="figure">
        <img src="https://goo.gl/4EtywD" class="figure-img img-thumbnail" alt="BusinessPic">
        <figcaption class="figure-caption">And so, the ill-fitting suit company was founded!</figcaption>
      </figure>
    </div>
    <div class="col-md-4">
      <figure class="figure">
        <img src="https://goo.gl/396zrj" class="figure-img img-thumbnail" alt="BusinessPic">
        <figcaption class="figure-caption">Text-book example of one of those awkward "dominant body language" handshakes that really just makes everyone hate you</figcaption>
      </figure>
    </div>
    <div class="col-md-4">
      <figure class="figure">
        <img src="https://goo.gl/tohyxV" class="figure-img img-thumbnail" alt="BusinessPic">
        <figcaption class="figure-caption">I keep having this reoccurring dream where everyone is violently happy and constantly closing massive business deals...Am I America?</figcaption>
      </figure>
    </div>
  </div>
</div>

<div class="container-fluid bg-3" id="contact">
  <h3>Get in touch on Social Media!</h3>
  <p>One day no-one will get in touch and I can finally deactivate my facebook profile :3</p>
  <div id="social">
    <a href="https://www.facebook.com" class="fa fa-facebook" target='_blank'></a>
  <a href="https://www.twitter.com" class="fa fa-twitter" target='_blank'></a>
  <a href="https://www.google.com" class="fa fa-google" target='_blank'></a>
  <a href="https://www.linkedin.com" class="fa fa-linkedin" target='_blank'></a>    
  </div>
  
</div>


<footer class="container-fluid bg-4 text-center">
  <p>Created By Daniel Watson</p> 
</footer>
              
            
!

CSS

              
                .bg-1 {
  background-color: #222629;
  color: #86c232;
  
}
.bg-2 {
  background-color: #474b4f;
  color: #86c232;
  text-align: center;
}
.bg-3 {
  background-color: #222629;
  color: #86c232;
}
.container-fluid {
  padding-top: 70px;
  padding-bottom: 70px;
}
.bg-4 { 
    background-color: #222629;
    color: #ffffff;
}

img {
  margin-right: 50px;
  
}

h3 {
  padding-left: 30px;
}

p {
  padding-left: 30px;
}
.navbar {
  background-color: #474b4f;
  
}
.navbar-nav {
  background-color: #222629;
  
}
.navbar-brand{
  color: #86c232;
}
.fa {
    padding: 20px;
    font-size: 30px;
    width: 50px;
    text-align: center;
    text-decoration: none;
}
#social {
  text-align: center;
}
#contact{
  text-align: center;
}

              
            
!

JS

              
                
              
            
!
999px

Console