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 class="navbar navbar-inverse navbar-fixed-top">
  <div class="container-fluid">
    <div class="navbar-header">
      <a class="navbar-brand" href="#">MJD Web Development</a>
    </div>
    <ul class="nav navbar-nav">
      <li class="active"><a href="#">Home</a></li>
      <li><a href="#About-Me">About Me</a></li>
      <li><a href="#Portfolio">Portfolio</a></li> 
      <li><a href="#Getintouch">Get in Touch</a></li> 
    </ul>
  </div>
</nav>
<div class="jumbotron container-fluid">
  <h1>MJD Web Development</h1>
</div>
<div id="About-Me">
  <h2>About Me</h2>
  <h3>Hi! I'm Matthew Dodds, and I'm a web developer from Lichfield, UK.</h3> 
  <p>I'm a self-taught web developer, currently completing the Free Code Camp curriculum and picking up projects as and when I can. My skills are listed below, and I will be adding to this as I pick up more. If you have a project in mind, please get in touch using one of the options given at the bottom of the page!</p>
</div>
<div class="container-fluid" id="skills">
      <img class="img-responsive" src="http://www.sanderscabling.com/images/Webdesign_Webgrafiken_Weblogos_SeoOptimierungen/html5-css-javascript-logos%20Webdesign%20WEbgrafiken%20fuer%20allle.png">

</div>
<div class="container-fluid" id="Portfolio">
  <h2>Portfolio</h2>
<div class="row">
  <div class="col-md-4">
    <a href="#">
<img src="http://placehold.it/350x150">
</a>
  </div>
  <div class="col-md-4">
      <a href="#">
<img src="http://placehold.it/350x150">
</a>
  </div>
  <div class="col-md-4">
      <a href="#">
<img src="http://placehold.it/350x150">
</a>
  </div>
  </div>
<div class="row">
  <div class="col-md-4">
    <a href="#">
<img src="http://placehold.it/350x150">
</a>
  </div>
  <div class="col-md-4">
      <a href="#">
<img src="http://placehold.it/350x150">
</a>
  </div>
  <div class="col-md-4">
      <a href="#">
<img src="http://placehold.it/350x150">
</a>
  </div>
</div>
  <div class="row">
  <div class="col-md-4">
    <a href="#">
<img src="http://placehold.it/350x150">
</a>
  </div>
  <div class="col-md-4">
      <a href="#">
<img src="http://placehold.it/350x150">
</a>
  </div>
  <div class="col-md-4">
      <a href="#">
<img src="http://placehold.it/350x150">
</a>
  </div>
</div>
</div>
<div id="Getintouch">
  <h2>Get in Touch</h2>
  <h3><i class="fa fa-envelope" aria-hidden="true"></i> mattjd86@gmail.com</h3>
</div>
<div class="container">
  <div class="row">
    <form name="contact_me" col s12>
      <div class="row">
        <div id="name" col s12>
          <label for="name">Your Name</label>
          <input type="text" name="name">
        </div>
        </div>
      <div class="row">
        <div id="name" col s12>
          <label for="name">Email Address</label>
          <input type="text" name="email">
        </div>
      </div>
      <div class="row">
        <div id="name" col s12>
          <label for="name">Your Message</label>
          <textarea type="text" name="message"></textarea>
        </div>
      </div>
      <div id="buttonpos">
        <input type="submit" class="btn btn1" value="Submit"></div>
    </form>
  </div>
</div>
  <footer class="site-footer">
    <div class="container">
      <div class="row">
          <div class="col-md-3">
            <p>&copy 2016 MJD Web Development</p>
  </div>
      <div class="col-md-5">
      <p id="social">Connect with me</p>
        </div>
      <div class="col-md-1">
     <a href="https://codepen.io/mattsatonacat/" target="_blank"><i class="fa fa-codepen fa-2x"></i></a>
          </div>
        <div class="col-md-1">
           <a href="https://uk.linkedin.com/in/matt-dodds-4a3a3412" target="_blank"><i class="fa fa-linkedin fa-2x"></i>
          </div>
          <div class="col-md-1">
            <a href="https://www.facebook.com/mattsatonacat" target="_blank"><i class="fa fa-facebook fa-2x"></i>
          </div>
            <div class="col-md-1">
            <a href="https://github.com/mattsatonacat" target="_blank"><i class="fa fa-github fa-2x"></i>
          </div>
</footer>


              
            
!

CSS

              
                body {
  background-color: #8F9190;
  height: 100%;
  font-family: 'Ubuntu';
}

.jumbotron {
  background-image: url(https://static.pexels.com/photos/7974/pexels-photo.jpg);
  background-size: cover;
  height: 850px;
}

.jumbotron h1 {
  padding-top: 40px;
  margin-top: 0px;
  font-family: 'Ubuntu';
  font-weight: bold;
  
}
.navbar-brand {
  font-family: 'Ubuntu';
}

#About-Me {
  font-family: 'Ubuntu';
  margin: 70px;
}
#About-Me h3 {
  text-align: center;
  font-size: 200%;
  margin: 30px;
}
#About-Me p {
  font-size: 125%;
  margin: 30px;
}
#Portfolio {
  font-family: 'Ubuntu';
  margin: 50px;
}
#Getintouch {
  font-family: 'Ubuntu';
}

h3 {
  font-family: 'Ubuntu';
}

h2 {
  font-weight: bold;
  text-align: center;
}
.row {
  margin-top: 30px;
  margin-bottom: 30px;
}
#skills img {
  display: block;
  margin: auto;
}
#Getintouch h3 {
  text-align: center;
}

input[type=text] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
}
textarea {
    width: 100%;
    height: 150px;
    padding: 12px 20px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: #f8f8f8;
    font-size: 16px;
    resize: none;
}
  
.btn {
    background-color: #22222; 
    border: none;
    color: white;
    padding: 13px 30px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
}

.btn1 {
    background-color: #222222;
    color: white;
    border: 2px solid #222222;
}

.btn1:hover {
    background-color: #8F9190;
    color: #222222;
}
#buttonpos {
  text-align: center;
}


.site-footer {
  font-family: Ubuntu;
  background-color: #222222;
  color: #8F9190;
  margin: 0;
}

.site-footer p {
  margin: 0px;
  padding: 0px;
}
#social {
  float: right;
}
#social li {
  display: inline;
}

              
            
!

JS

              
                
              
            
!
999px

Console