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

              
                <link href="https://fonts.googleapis.com/css?family=Nunito|Roboto:700|Bungee+Inline" rel="stylesheet">

<body>
  <div class="container-fluid">
<!-- Nav -->
    <nav class="navbar navbar-default">
      <div class="container-fluid">
        <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="#">My Portfolio</a>
        </div>
        <div class="collapse navbar-collapse" id="myNavbar">
          <ul class="nav navbar-nav">
            <li class="active"><a href="#top">Home</a></li>
            <li><a href="#about">About</a></li>
            <li><a href="#portfolio">My Work</a></li>
            <li><a href="#contact">Contact</a></li>
            <li> <a href="https://github.com/jfrancis2">My Github <i class="icon-github"></i></a></li>
          </ul>
        </div>
      </div>
    </nav>
<!-- About -->
    <div class="jumbotron jumbotron-primary" id="about">
      <div class="container text-center">
        <h1>Welcome! I'm Jamie.</h1>
        <div class="clearfix"><img src="https://i.imgur.com/CTcjDRr.png" class="img-rounded"></div>
        <p>This is the first draft of my portfolio. It will contain all of my work for Free Code Camp and maybe some other stuff!</p>
        <a href="#portfolio" class="btn btn-dark-border-2x btn-lg" role="button"><i class="fa fa-angle-right"></i> See my stuff</a>
      </div>
    </div>
    <br />
<!-- Portfolio -->
    <div class="container-fluid bg-3 text-center" id="portfolio">
      <div class="well">
        <h1>My work so far</h1>
        <div class="row">
          <div class="col-sm-3">
            <p>
              <h4>Item 1</h4></p>
            <img src="https://placehold.it/150x80?text=Pic here!" class="img-thumbnail" style="width:100%" alt="Image">
            <a href="#" role="button" class="btn btn-green-border-2x btn-lg">More info..</a>
          </div>
          <div class="col-sm-3">
            <p>
              <h4>Item 2</h4></p>
            <img src="https://placehold.it/150x80?text=Another pic" class="img-thumbnail" style="width:100%" alt="Image">
            <a href="#" role="button" class="btn btn-green-border-2x btn-lg">More info..</a>
          </div>
          <div class="col-sm-3">
            <p>
              <h4>Item 3</h4></p>
            <img src="https://placehold.it/150x80?text=Need some pics" class="img-thumbnail" style="width:100%" alt="Image">
            <a href="#" role="button" class="btn btn-green-border-2x btn-lg">More info..</a>
          </div>
          <div class="col-sm-3">
            <p>
              <h4>Item 4</h4></p>
            <img src="https://placehold.it/150x80?text=Seriously" class="img-thumbnail" style="width:100%" alt="Image">
            <a href="#" role="button" class="btn btn-green-border-2x btn-lg">More info..</a>
          </div>
        </div>
      </div>
    </div>
<!-- Contact -->
    <div class="container-fluid bg-3 text-center" id="contact">
      <div class="row">
        <div class="col-md-6 col-md-offset-3">
          <div class="well well-sm">
            <form class="form-horizontal" action="" method="post">
              <fieldset>
                <legend class="text-center">Reach out</legend>

                <!-- Name input-->
                <div class="form-group">
                  <label class="col-md-3 control-label" for="name">Nice to meet you...</label>
                  <div class="col-md-9">
                    <input id="name" name="name" type="text" placeholder="Enter your name" class="form-control">
                  </div>
                </div>

                <!-- Email input-->
                <div class="form-group">
                  <label class="col-md-3 control-label" for="email">E-mail</label>
                  <div class="col-md-9">
                    <input id="email" name="email" type="text" placeholder="Your email address" class="form-control">
                  </div>
                </div>

                <!-- Message body -->
                <div class="form-group">
                  <label class="col-md-3 control-label" for="message">What's up?</label>
                  <div class="col-md-9">
                    <textarea class="form-control" id="message" name="message" placeholder="Please enter a message here..." rows="5"></textarea>
                  </div>
                </div>

                <!-- Form actions -->
                <div class="form-group">
                  <div class="col-md-12 text-right">
                    <button type="submit" class="btn btn-primary btn-lg">Send message</button>
                  </div>
                </div>
              </fieldset>
            </form>
          </div>
        </div>
      </div>
    </div>

  </div>
  <!-- end of main fluid-container -->

  <footer class="container-fluid text-center">
    <p> <a href="https://github.com/jfrancis2">My Github <i class="icon-github"></i></a></p>
    <p>JF 2017. <a href="#top">Back to top <i class="fa fa-level-up black-icon" aria-hidden="true"></i></a></p>
  </footer>

</body>

</html>
              
            
!

CSS

              
                /* Remove the navbar's default margin-bottom and rounded borders */
.navbar-default {
  background-color: #0092d4;
  border-color: #88d0ff;
  font-family: font-family: 'Nunito', sans-serif;
}
.navbar-default .navbar-brand {
  color: #ecf0f1;
  font-family: 'Bungee Inline', cursive;
}
.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
  color: #000000;
}
.navbar-default .navbar-text {
  color: #ecf0f1;
}
.navbar-default .navbar-nav > li > a {
  color: #ecf0f1;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #000000;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #000000;
  background-color: #88d0ff;
}
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
  color: #000000;
  background-color: #88d0ff;
}
.navbar-default .navbar-toggle {
  border-color: #88d0ff;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #88d0ff;
}
.navbar-default .navbar-toggle .icon-bar {
  background-color: #ecf0f1;
}
.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
  border-color: #ecf0f1;
}
.navbar-default .navbar-link {
  color: #ecf0f1;
}
.navbar-default .navbar-link:hover {
  color: #000000;
}

@media (max-width: 767px) {
  .navbar-default .navbar-nav .open .dropdown-menu > li > a {
    color: #ecf0f1;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #000000;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: #000000;
    background-color: #88d0ff;
  }
}
.jumbotron.jumbotron-primary {
    color: #fff;
    background-color: #1ABC9C;
}
.container .jumbotron, .container-fluid .jumbotron {
    border-radius: 0;
}
.jumbotron {
    margin-bottom: 0;
}
.jumbotron:before {
  box-sizing: border-box;
}
/* Add a background color and some padding to the footer */
footer {
  background-color: #f2f2f2;
  padding: 25px;
}
h1,h2,h3,h4,h5,h6{
  font-weight: bold;
  font-family: 'Roboto', sans-serif;
}

body {
  font-family: font-family: 'Nunito', sans-serif;
}
.btn-dark-border-2x {
    color: #282828;
    background-color: #fff;
    border-color: #282828;
    transition: all 100ms linear;
    border-width: 2px;
    padding: 5px 18px;
    font-size: 14px;
    line-height: 1.644;
    border-radius: 0;
}

html{
    /* Ensure the html element always takes up the full height of the browser window */
    min-height:100%;
}

body{
    /* Background image: Workaround for some mobile browsers */
    background-image:url('http://cdn.backgroundhost.com/backgrounds/subtlepatterns/pineapplecut.png');
    background-size:cover;
    min-height:100%;
}
.black-icon {
  color:#000;
}
.btn-green-border-2x {
    color: #282828;
    background-color: #fff;
    border-color: #1ABC9C;
    transition: all 100ms linear;
    border-width: 2px;
    padding: 5px 18px;
    font-size: 14px;
    border-radius: 5;
    margin-top:5px;
}
.social:hover {
     -webkit-transform: scale(1.1);
     -moz-transform: scale(1.1);
     -o-transform: scale(1.1);
 }
 .social {
     -webkit-transform: scale(0.8);
     /* Browser Variations: */
     
     -moz-transform: scale(0.8);
     -o-transform: scale(0.8);
     -webkit-transition-duration: 0.5s;
     -moz-transition-duration: 0.5s;
     -o-transition-duration: 0.5s;
 }

/*
    Multicoloured Hover Variations
*/
 
 #social-fb:hover {
     color: #3B5998;
 }
 #social-tw:hover {
     color: #4099FF;
 }
 #social-gp:hover {
     color: #d34836;
 }
 #social-em:hover {
     color: #f39c12;
 }
              
            
!

JS

              
                
              
            
!
999px

Console