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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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

              
                <nav class="navbar navbar-inverse navbar-static-top">
    <div class="navbar-header">
      <a class="navbar-brand" href="#"><h5>Simmo Simpson Web Design</h5></a>
        <a class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
        </a>
    </div>
    <div class="navbar-collapse collapse">
        <ul class="nav navbar-nav">
          <li><a href="#home"><h5>Home</h5></a></li>
          <li><a href="#about"><h5>About</h5></a></li>
            <li><a href="#portfolio"><h5>Portfolio</h5></a></li>
            <li><a href="#contact" ><h5>Contact</h5></a></li>
        </ul>
    </div>
</nav>
    
    
<div id="about" class="container-fluid">
    <div class="row">
      <div class="col-xs-5 custom-about">
          <img id="my-face" src="https://res.cloudinary.com/simmosim/image/upload/v1488528687/Me_hkykum.jpg" class="img-circle" alt="My face" width="100%">
        </div> 
            
        <div class="col-xs-7 custom-about">
            <h1>Simmo Simpson</h1><br>
            <h2>Freelance Web Design & Photography<br>
              Feel free to take a look at my work</h2><br>
          <p>Need a website? Some quality photography?<br>I'm your man!<br>
            </div>
    </div>
    </div>


            
<section class="container-fluid" id="portfolio">
    
  <h3 id="portfolio-title">PORTFOLIO</h3>
        <div>
            <div class="col-sm-4 col-xs-6 custom-column">
            <a href="https://codepen.io/SimmoSim/" target="_blank">
              <!--for image opacity --><div class="element">
                <img src="https://res.cloudinary.com/simmosim/image/upload/v1489655509/web-design_wlv0vi.jpg" alt="Web design" width="100%"></div></a><h4>Web Design</h4>
            </div>
            
            <div class="col-sm-4 col-xs-6 custom-column">
              <a href="https://simmosimpson.wordpress.com/portfolio/" target="_blank"><!--for image opacity --><div class="element"><img src="https://res.cloudinary.com/simmosim/image/upload/v1489655007/bass-guitar-blue-dry-ice_ov3l6m.jpg" alt="My photograph" width="100%"></div></a>
             <h4>Photography</h4>
            </div>
            
            <div class="col-sm-4 col-xs-6 custom-column">
                    <a href="https://nomadapprentice.wordpress.com/" target="_blank">
                   <!--for image opacity --><div class="element"><img src="https://res.cloudinary.com/simmosim/image/upload/v1489655008/blog-desk_dewden.jpg" alt="My blog" width="100%"></div></a>
             <h4>Blog</h4>
            </div>
            
    
            <div class="col-sm-4 col-xs-6 custom-column">
            <a href="https://www.facebook.com/SimmoSimpsonMusic/" target="_blank">
              <!--for image opacity --><div class="element"><img src="https://res.cloudinary.com/simmosim/image/upload/v1489655006/Simmo-music_zb0yqg.jpg" alt="My music" width="100%"></div></a>
             <h4>Music</h4>
            </div>
            
            <div class="col-sm-4 col-xs-6 custom-column">
                <a href="https://www.facebook.com/effectivealtruismtaipei/" target="_blank">
                  <!--for image opacity --><div class="element"><img src="https://res.cloudinary.com/simmosim/image/upload/v1489655004/Effective-Altruism-Logo_uove4m.jpg" alt="EA logo" width="100%"></div></a>
             <h4>Effective Altruism</h4>
            </div>
            
            <div class="col-sm-4 col-xs-6 custom-column">
                    <!--for image opacity --><div class="element"><img src="https://res.cloudinary.com/simmosim/image/upload/v1489655008/TBC_fuzthv.jpg" alt="My future" width="100%"></div>
             <h4>TBC</h4>
            </div>
        </div>
 
</section>    

  <h3 id="contact">CONTACT ME</h3> 
        <div>
          <br><p style="padding-left:5%" class="text-right">Drop me a line on your prefered social media<br> platform by clicking a link below.<br><br>
                </p>
        </div>

<div class="footer-social-icons">
    <ul class="social-icons custom-social-icon">
        <li><a href="https://www.facebook.com/simmophotography" target="_blank" class="social-icon"> <i class="fa fa-facebook custom-social-icon"></i></a></li>
        <li><a href="https://twitter.com/TweetSimmo" target="_blank" class="social-icon"> <i class="fa fa-twitter custom-social-icon"></i></a></li>
        <li><a href="https://www.linkedin.com/in/simpsonuk/" target="_blank" class="social-icon"> <i class="fa fa-linkedin custom-social-icon"></i></a></li>
        <li><a href="https://www.instagram.com/simmosimpson/" target="_blank" class="social-icon"> <i class="fa fa-instagram custom-social-icon"></i></a></li>
        <li><a href="https://nomadapprentice.wordpress.com/" target="_blank" class="social-icon"> <i class="fa fa-wordpress custom-social-icon"></i></a></li>
        <li><a href="https://github.com/simmosim" target="_blank" class="social-icon"> <i class="fa fa-github"></i></a></li>
    </ul>
    <br>
</div>
    
<script src="https://code.jquery.com/jquery-3.1.1.js"
 integrity="sha256-16cdPddA6VdVInumRGo6IbivbERE8p7CQR3HzTBuELA=" crossorigin="anonymous"></script>

<script src="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> 

<script src="script.js"></script> 
    
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
    
<!-- to make navbar button toggle -->
<script src="https://code.jquery.com/jquery-3.1.1.js" type="text/javascript"></script> 
              
            
!

CSS

              
                body {
  background-color: #317;
  width: 100%;
  margin: 0%;  
}

h1 {
    font-family: 'Lobster', Georgia, Times, serif;
	  font-size: 70px;
  	line-height: 1.1em;
    text-align: right;
    padding-right: 50px;
    color: #FFA206;
}
h2  {
    font-family: 'Lobster', Georgia, Times, serif;
    color: #EFF0F0;
	  font-size: 25px;
	  line-height: 1.5em;
    text-align: right;
    padding-right: 50px;
    padding-bottom: 30px;
}
h3 {
    font-family: 'Cabin', Helvetica, Arial, sans-serif;
    color: #FFA206;
	  font-size: 25px;
	  line-height: 1.5em;
    text-align: right;
    padding-right: 50px;
    background-color: #EFF0F0;
}
h4 {
    font-family: 'Lobster', Georgia, Times, serif;
	  line-height: 1.5em;
    text-align: right;
    padding-right: 50px;
    padding-bottom: 5px;
    background-color: #EFF0F0;
}
h5 {
    font-family: 'Lobster', Georgia, Times, serif;
	  font-size: 25px;
    margin: 1px;
    color: #EFF0F0;
}
p {
    font-family: 'Cabin', Helvetica, Arial, sans-serif;
    color: #EFF0F0;
    line-height: 1.8em;
    text-align: right;
    padding-right: 50px;
    font-size: 20px;
}
div {
    text-align: center;
}
.row {
 margin-right: 0px;
 }
.navbar .container-fluid>.navbar-header {
  float: left;
  margin-right: 0px;
}
.navbar .nav {
    padding-left: 5px;
    margin-left: 0;
    float: left
}
.nav {
  float: left;
}
.container-fluid {
    padding: 0 !important;
}
section {
  background-size: cover;
}

img {
    padding: 5px 5px 2px 5px;
} 
.active a {
    text-decoration: none;
    color: #fff;
    text-align: center;
}
p > a:hover{
    color: #d9d9d9;
    text-decoration:  underline;
}
.active {
    background-color: white;
    color: black;
}
ul.nav navbar-nav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 60px;
}


.navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus {
    background-color: #FFA206;
}


#navbar {
    float: left;
}
#my-face {
    margin: 5px 0px 5px 0px;
    padding: 15px;
}
@media (max-width: 440px) {
    .custom-about {
        width: 100%;
    }
}
@media (max-width: 537px) {
    .custom-column {
        width: 100%;
    }
}
.element {
    padding: 20px 30px 0px 30px;
}
@media (min-width: 538px) {
    .element {
        padding: 20px 10px 10px 10px;
  }
}
.element:hover img {
    opacity:.6
  }
}
#portfolio:not(#portfolio-title) {
    background-color: #EFF0F0;
}
#portfolio-title {
    background-color: #2E3747 !important;
}

#contact {
    background-color: #2E3747;
}

@media (max-width: 375px) {
    .footer-social-icons{
        margin-right: -20px !important;
            }
    }   
.footer-social-icons {
    width: 350px;
    display: inherit;
    margin-right: px;
    float: right;
}   
.social-icon {
    color: black;
}
ul.social-icons {
    margin-top: 10px;
    padding-right: none;
}
.social-icons li {
    vertical-align: top;
    display: inline;
    height: 100px;
}
.social-icons a {
    color: #EFF0F0;
    text-decoration: none;
}
@media (max-width: 375px) {
      .fa-facebook{
         padding:5px 7px !important;
            }
      }
.fa-facebook {
    padding:10px 14px;
    transition: .5s;
    background-color: #2E3747;
}
.fa-facebook:hover {
    background-color: #3d5b99;
}
@media (max-width: 375px) {
      .fa-twitter{
         padding:5px 7px !important;
            }
      }
.fa-twitter {
    padding:10px 12px;
    transition: .5s;
    background-color: #2E3747;
}
.fa-twitter:hover {
    background-color: #00aced;
}
@media (max-width: 375px) {
      .fa-linkedin {
         padding:5px 7px !important;
            }
      }
.fa-linkedin {
    padding:10px 14px;
    transition: .5s;
    background-color: #2E3747;
}
.fa-linkedin:hover {
    background-color: #0073a4;
}
@media (max-width: 375px) {
      .fa-instagram {
         padding:5px 7px !important;
            }
      }
.fa-instagram {
    padding:10px 14px;
    transition: .5s;
    background-color: #2E3747;
}
.fa-instagram:hover {
    background-color: #bc2a8d;
}
@media (max-width: 375px) {
      .fa-wordpress {
         padding:5px 7px !important;
            }
      }
.fa-wordpress {
    padding:10px 14px;
    transition: .5s;
    background-color: #2E3747;
}
.fa-wordpress:hover {
    background-color: #21759b;
}
@media (max-width: 375px) {
      .fa-github {
         padding:5px 7px !important;
            }
      }
.fa-github {
    padding:10px 14px;
    transition: .5s;
    background-color: #2E3747;
}
.fa-github:hover {
    background-color: #6CC644;
}
              
            
!

JS

              
                
              
            
!
999px

Console