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

              
                
  <div>
    <nav role="navigation" class="navbar navbar-default navbar-fixed-top">
      <div class="container">
        <div class="navbar-header">
          <button type="button" data-target="#navbarCollapse" data-toggle="collapse" class="navbar-toggle">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
          <a href="#" class="navbar-brand">fortydays</a>
        </div>
        <!-- Collection of nav links and other content for toggling -->
        <div id="navbarCollapse" class="collapse navbar-collapse">
          <ul class="nav navbar-nav">
            <li class="active"><a href="#">Home</a></li>
            <li><a href="#">Portfolio</a></li>
            <li><a href="#">About Me</a></li>
            <li><a href="#">Contact Me</a></li>
          </ul>
        </div>
      </div>
    </nav>
  </div>
  <!--header-->
  <div id="header" class="image container-fluid">
    <h1>fortydays</h1></div>

  <!--portfolio-->
  <div id="portfolio" style="background-color:#247BA0" class="container-fluid ">PROJECTS
    <div class="container">
      <div class="row">
        <div class="col-xs-3">
          <a href="#" class="thumbnail">
            <img src="http://placekitten.com/g/400/300" alt="125x125">
          </a>
        </div>
        <div class="col-xs-3">
          <a href="#" class="thumbnail">
            <img src="http://placekitten.com/g/400/301" alt="125x125">
          </a>
        </div>
        <div class="col-xs-3">
          <a href="#" class="thumbnail">
            <img src="http://placekitten.com/g/400/302" alt="125x125">
          </a>
        </div>
        <div class="col-xs-3">
          <a href="#" class="thumbnail">
            <img src="http://placekitten.com/g/400/303" alt="125x125">
          </a>
        </div>
      </div>
    </div>
  </div>


  <!--additional content-->
  <div id="content" style="background-color:#F3FFBD" class="container-fluid">ABOUT ME
    <p>Born and raised in New Jersey, I received my PharmD from Rutgers University. After 6 years of studies, I decided it was a good time as any to live in South Korea for a year which turned into 2&1/2. I came back to the states to find a closed (read:collapsed)
      job market, even for pharmacists which were in high demand only a few years prior. I spent a few months at a competitive intelligence firm which served as a stepping stone to where I am now. <br><br>I have been with Covance since 2011 as a senior
      analyst for oncology. I had the honor of being awarded the Covance Way Award in 2013. I am currently participating in the Management Development Program which allows select employees to experience different job functions and departments over 3 years
      for the purpose of growing more leaders.<br><br>I am exploring user experience design and web development.</p>
  </div>

  <div id="content" style="background-color:#B2DBBF" class="container-fluid">hello
    <p>my dog is a mooonster.
      <Br>(extra points if you know the reference for "moooonster.")</p>
  </div>

  <div id="content" style="background-color:#70C1B3" class="container-fluid">yeah</div>


  <!--footer-->
  <footer>
    <section id="footer" style="background-color:#FF1654" class="social">
      <ul>CONTACT ME
        <li><a href="#"><i class="fa fa-lg fa-envelope-o"></i></a></li>
        <li><a href="#"><i class="fa fa-lg fa-twitter"></i></a></li>
        <li><a href="#"><i class="fa fa-lg fa-github"></i></a></li>
        <li><a href="#"><i class="fa fa-lg fa-linkedin"></i></a></li>
        <li><a href="#"><i class="fa fa-lg fa-pinterest"></i></a></li>
      </ul>
    </section>
  </footer>

              
            
!

CSS

              
                body {
  padding: 0;
  position: relative;
}

#header {
  font-family: 'Abril Fatface', cursive;
  text-align: center;
  color: rgb(23, 22, 20);
  padding-top: 350px;
}

#portfolio {
  font-family: 'Lato', sans-serif;
  text-align: center;
  color: rgb(62, 62, 52);
}

#content {
  font-family: 'Lato', sans-serif;
}

#footer {
  font-family: 'Lato', sans-serif;
  font-size: 40px;
  padding-left: 20px;
}

.image {
  position: relative;
  background-image: url('http://unsplash.it/1050/770?image=885');
  background-size: cover;
}

.container-fluid {
  padding-top: 15px;
  padding-bottom: 50px;
}

.social {
  margin: 0;
  padding: 0;
  padding-bottom: 5px;
}

.social ul {
  margin: 0;
  padding: 0px;
}

.social ul li {
  margin: 5px;
  list-style: none outside none;
  display: inline-block;
}

.social i {
  width: 75px;
  height: 75px;
  color: #FFF;
  background-color: #909AA0;
  font-size: 55px;
  text-align: center;
  padding-top: 18px;
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  -o-border-radius: 50%;
  transition: all ease 0.3s;
  -moz-transition: all ease 0.3s;
  -webkit-transition: all ease 0.3s;
  -o-transition: all ease 0.3s;
  -ms-transition: all ease 0.3s;
}

.social .fa-envelope-o:hover {
  background: #dd4b39
}

.social .fa-twitter:hover {
  /* round twitter icon*/
  background: #00ABE3;
}

.social .fa-github:hover {
  /* round github icon*/
  background: #343434;
}

.social .fa-linkedin:hover {
  /* round linkedin icon*/
  background: #0094BC;
}

.social .fa-pinterest:hover {
  background: #cb2027
}
              
            
!

JS

              
                
              
            
!
999px

Console