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

              
                <head>
  
  <link href='https://fonts.googleapis.com/css?family=Audiowide|Monoton' rel='stylesheet' type='text/css'>
</head>

<body>
  <nav class="navbar navbar-inverse navbar-fixed-top">
    <div class="container-fluid">
      <div class="navbar-header">
        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
          <span class="sr-only">Toggle navigation</span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        <a class="navbar-brand" href="#">Richard's Portfolio</a>
      </div>
      <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
        <ul class="nav navbar-nav navbar-right">
          <li class="active"><a href="#home">Home</a></li>
          <li><a href="#about">About</a></li>
          <li><a href="#portfolio">Portfolio</a></li>
          <li class="dropdown">
            <a class="dropdown-toggle" data-toggle="dropdown" href="#">Contact<span class="caret"></span></a>
            <ul class="dropdown-menu">
              <li><a href="https://twitter.com/the_shabilly" target="blank">Twitter</a></li>
              <li><a href="https://www.linkedin.com/in/richard-corbett-3684ab115?authType=NAME_SEARCH&authToken=VipL&locale=en_US&srchid=4819656321455865021429&srchindex=1&srchtotal=188&trk=vsrp_people_res_photo&trkInfo=VSRPsearchId%3A4819656321455865021429%2CVSRPtargetId%3A481965632%2CVSRPcmpt%3Aprimary%2CVSRPnm%3Atrue%2CauthType%3ANAME_SEARCH"
                  target="blank">LinkedIn</a></li>
              <li><a href="https://github.com/reacorbett"  target="blank">Github</a></li>
              <li><a href="#" target="blank">FreeCodeCamp</a></li>
            </ul>
        </ul>
      </div>
    </div>
  </nav>
 <section>
   <div class="relative">
     <a><img src="http://i1155.photobucket.com/albums/p543/richard_corbett1/Richard_port_zps7upeuqnx.png" class="img-responsive"></a>
   </div>
</section>   
<section>
  <div>
     <div id="opacity" class="big-border">
       <a name="about"></a>
        <div class="row"> 
         <div class="col-xs-12">
           <div class ='container'>
             <div class = 'jumbotron'>
               <h1>About Me</h1>
               <p>dfjldklfa;lsdkjflaksdjflaksdjflaksdjfolkejrclaknerclekrcmelrkmcrl alkcl;kcl erclkjd clerkcj lkerjc lekrcj le;rkcj elrkcj; erlckj l;jkasdlvkajs dlerkj clekrcj asld;kvjla; sk djvlercl; ker lkjcl;kdc asjl;dcjelrck jer;lc k;lk cjelr; celkc sdfjldklfa;lsdkjflaksdjflaksdjflaksdjfolkejrclaknerclekrcmelrkmcrl alkcl;kcl erclkjd clerkcj lkerjc lekrcj le;rkcj elrkcj; erlckj l;jkasdlvkajs dlerkj clekrcj asld;kvjla; sk djvlercl; ker lkjcl;kdc asjl;dcjelrck jer;lc k;lk cjelr; celkcsdfjldklfa;lsdkjflaksdjflaksdjflaksdjfolkejrclaknerclekrcmelrkmcrl alkcl;kcl erclkjd clerkcj lkerjc lekrcj le;rkcj elrkcj; erlckj l;jkasdlvkajs dlerkj clekrcj asld;kvjla; sk djvlercl; ker lkjcl;kdc asjl;dcjelrck jer;lc k;lk cjelr; celkcsdfjldklfa;lsdkjflaksdjflaksdjflaksdjfolkejrclaknerclekrcmelrkmcrl alkcl;kcl erclkjd clerkcj lkerjc lekrcj le;rkcj elrkcj; erlckj l;jkasdlvkajs dlerkj clekrcj asld;kvjla; sk djvlercl; ker lkjcl;kdc asjl;dcjelrck jer;lc k;lk cjelr; celkcsdfjldklfa;lsdkjflaksdjflaksdjflaksdjfolkejrclaknerclekrcmelrkmcrl alkcl;kcl erclkjd clerkcj lkerjc lekrcj le;rkcj elrkcj; erlckj l;jkasdlvkajs dlerkj clekrcj asld;kvjla; sk djvlercl; ker lkjcl;kdc asjl;dcjelrck jer;lc k;lk cjelr; celkcsdfjldklfa;lsdkjflaksdjflaksdjflaksdjfolkejrclaknerclekrcmelrkmcrl alkcl;kcl erclkjd clerkcj lkerjc lekrcj le;rkcj elrkcj; erlckj l;jkasdlvkajs dlerkj clekrcj asld;kvjla; sk djvlercl; ker lkjcl;kdc asjl;dcjelrck jer;lc k;lk cjelr; celkcsdfjldklfa;lsdkjflaksdjflaksdjflaksdjfolkejrclaknerclekrcmelrkmcrl alkcl;kcl erclkjd clerkcj lkerjc lekrcj le;rkcj elrkcj; erlckj l;jkasdlvkajs dlerkj clekrcj asld;kvjla; sk djvlercl; ker lkjcl;kdc asjl;dcjelrck jer;lc k;lk cjelr; celkcsdfjldklfa;lsdkjflaksdjflaksdjflaksdjfolkejrclaknerclekrcmelrkmcrl alkcl;kcl erclkjd clerkcj lkerjc lekrcj le;rkcj elrkcj; erlckj l;jkasdlvkajs dlerkj clekrcj asld;kvjla; sk djvlercl; ker lkjcl;kdc asjl;dcjelrck jer;lc k;lk cjelr; celkc</p>
             </div>
           </div>
           
        </div>
      <div>
     </div>
   </div>
  </section>
 <div>
  <section>
    <div id="background-image">
      <h1>Some words here</h1>
    </div>
  </section>
  <section>
  <div>
     <div id="opacity" class="big-border">
       <a name="portfolio"></a>
             
       <h1>Some words here</h1>
        <div class="row"> 
         <div class="col-xs-6">   <p>sdfjldklfa;lsdkjflaksdjflaksdjflaksdjfolkejrclaknerclekrcmelrkmcrl alkcl;kcl erclkjd clerkcj lkerjc lekrcj le;rkcj elrkcj; erlckj l;jkasdlvkajs dlerkj clekrcj asld;kvjla; sk djvlercl; ker lkjcl;kdc asjl;dcjelrck jer;lc k;lk cjelr; celkc sdfjldklfa;lsdkjflaksdjflaksdjflaksdjfolkejrclaknerclekrcmelrkmcrl alkcl;kcl erclkjd clerkcj lkerjc lekrcj le;rkcj elrkcj; erlckj l;jkasdlvkajs dlerkj clekrcj asld;kvjla; sk djvlercl; ker lkjcl;kdc asjl;dcjelrck jer;lc k;lk cjelr; celkcsdfjldklfa;lsdkjflaksdjflaksdjflaksdjfolkejrclaknerclekrcmelrkmcrl alkcl;kcl erclkjd clerkcj lkerjc lekrcj le;rkcj elrkcj; erlckj l;jkasdlvkajs dlerkj clekrcj asld;kvjla; sk djvlercl; ker lkjcl;kdc asjl;dcjelrck jer;lc k;lk cjelr; celkcsdfjldklfa;lsdkjflaksdjflaksdjflaksdjfolkejrclaknerclekrcmelrkmcrl alkcl;kcl erclkjd clerkcj lkerjc lekrcj le;rkcj elrkcj; erlckj l;jkasdlvkajs dlerkj clekrcj asld;kvjla; sk djvlercl; ker lkjcl;kdc asjl;dcjelrck jer;lc k;lk cjelr; celkcsdfjldklfa;lsdkjflaksdjflaksdjflaksdjfolkejrclaknerclekrcmelrkmcrl alkcl;kcl erclkjd clerkcj lkerjc lekrcj le;rkcj elrkcj; erlckj l;jkasdlvkajs dlerkj clekrcj asld;kvjla; sk djvlercl; ker lkjcl;kdc asjl;dcjelrck jer;lc k;lk cjelr; celkcsdfjldklfa;lsdkjflaksdjflaksdjflaksdjfolkejrclaknerclekrcmelrkmcrl alkcl;kcl erclkjd clerkcj lkerjc lekrcj le;rkcj elrkcj; erlckj l;jkasdlvkajs dlerkj clekrcj asld;kvjla; sk djvlercl; ker lkjcl;kdc asjl;dcjelrck jer;lc k;lk cjelr; celkcsdfjldklfa;lsdkjflaksdjflaksdjflaksdjfolkejrclaknerclekrcmelrkmcrl alkcl;kcl erclkjd clerkcj lkerjc lekrcj le;rkcj elrkcj; erlckj l;jkasdlvkajs dlerkj clekrcj asld;kvjla; sk djvlercl; ker lkjcl;kdc asjl;dcjelrck jer;lc k;lk cjelr; celkcsdfjldklfa;lsdkjflaksdjflaksdjflaksdjfolkejrclaknerclekrcmelrkmcrl alkcl;kcl erclkjd clerkcj lkerjc lekrcj le;rkcj elrkcj; erlckj l;jkasdlvkajs dlerkj clekrcj asld;kvjla; sk djvlercl; ker lkjcl;kdc asjl;dcjelrck jer;lc k;lk cjelr; celkc</p>
         <h2>Contact Me</h2>
        </div>
      <div>
     </div>
   </div>
  </section>
  <section>
    <div class="container-fluid">
      <div class="row">
        
        <!--Twitter Button-->
        
        <div class="col-xs-3">
          <a href="https://twitter.com/the_shabilly"target="blank" id='twitter'></a>
        </div>
        
        <!-- Linkedin button -->
        
        <div class="col-xs-3">
          <a href="https://www.linkedin.com/in/richard-corbett-3684ab115?trk=nav_responsive_tab_profile_pic" target="blank" id='linkedin'></a>
        </div>
        
        <!--Github Button-->
        
        <div class="col-xs-3">
          <a href="https://github.com/reacorbett" target="blank" id='github'></a>
        </div>
        
        <!--FreeCodeCamp Button -->
        
        <div class="col-xs-3">
          <a href="https://www.freecodecamp.com/reacorbett" target="blank" id='freeCodeCamp'></a>
        </div>
      </div>
    </div>
  </section>
 </div>
</body>
              
            
!

CSS

              
                
body {
      overflow-x: hidden;
}

section {
  min-height: 22px!important;
  position: relative;
  background-attachment: fixed;
  background-repeat: no repeat;
  background-position: top center;
  background-size: cover;
  padding-top: .1px;
  padding-bottom: .1px;
  background-image: url(http://i1155.photobucket.com/albums/p543/richard_corbett1/RichardCorbett_graff_zps5fiicrgr.jpg);
  }

section:nth-of-type(2) {
  background-image: url(http://i1155.photobucket.com/albums/p543/richard_corbett1/RichardCorbett_glow_blur_zpsuuykfx1z.jpg)
}

.jumbotron{
  padding: 30px;
  margin-top: 30px;
  background: rgba(0, 0, 0, .2);
}

h1{
  padding: 120px;
  margin-top: 30px;
  color: #ffffff;
}

h2{
  padding: 30px;
  margin-top: 10px;
  color: #ffffff;
}

p{
  color: white;
  padding: 30px; 
}

.big-border{
  border-style: solid;
  border-color: rgb(0,0,0);
  border-width: 5px; 
 
}

#opacity{
  background: rgba(0, 0, 0, 0.6);
}

div.relative {
  position: relative; 
  margin-top: 52px;
}

              
            
!

JS

              
                $(document).ready(function(){

  //Twitter button hover
  
  var twit = '<img class = "twitIcon img-responsive" src="http://i1155.photobucket.com/albums/p543/richard_corbett1/Twitter_graf_zpskmnep2bj.png">'

  var twitTwo = '<img class = "twitIcon img-responsive" src="http://i1155.photobucket.com/albums/p543/richard_corbett1/Twitter_graf_active_zpssigs8pwl.png">'

  $('#twitter').append(twit);

  $('#twitter').on('mouseenter', '.twitIcon', function(){
      $(this).closest('.twitIcon').attr('src', 'http://i1155.photobucket.com/albums/p543/richard_corbett1/Twitter_graf_active_zpssigs8pwl.png');
  });

  $('#twitter').on('mouseleave', '.twitIcon', function(){
      $(this).closest('.twitIcon').attr('src', 'http://i1155.photobucket.com/albums/p543/richard_corbett1/Twitter_graf_zpskmnep2bj.png');
  });
  
  //Linkedin button hover
  
    var link = '<img class = "linkIcon img-responsive" src="http://i1155.photobucket.com/albums/p543/richard_corbett1/linkdn_zpscbrpy0hl.png">'

  var linkTwo = '<img class = "linkIcon img-responsive" src="http://i1155.photobucket.com/albums/p543/richard_corbett1/linkdn_active_zpsgbcu0rjm.png">'

  $('#linkedin').append(link);

  $('#linkedin').on('mouseenter', '.linkIcon', function(){
      $(this).closest('.linkIcon').attr('src', 'http://i1155.photobucket.com/albums/p543/richard_corbett1/linkdn_active_zpsgbcu0rjm.png');
  });

  $('#linkedin').on('mouseleave', '.linkIcon', function(){
      $(this).closest('.linkIcon').attr('src', 'http://i1155.photobucket.com/albums/p543/richard_corbett1/linkdn_zpscbrpy0hl.png');
  });
  
  //Github button hover
  
    var git = '<img class = "gitIcon img-responsive" src="http://i1155.photobucket.com/albums/p543/richard_corbett1/Githubgraf_zpstafle65i.png">'

  var gitTwo = '<img class = "gitIcon img-responsive" src="http://i1155.photobucket.com/albums/p543/richard_corbett1/Githubgraf_active_zps8k2hoq3p.png">'

  $('#github').append(git);

  $('#github').on('mouseenter', '.gitIcon', function(){
      $(this).closest('.gitIcon').attr('src', 'http://i1155.photobucket.com/albums/p543/richard_corbett1/Githubgraf_active_zps8k2hoq3p.png');
  });

  $('#github').on('mouseleave', '.gitIcon', function(){
      $(this).closest('.gitIcon').attr('src', 'http://i1155.photobucket.com/albums/p543/richard_corbett1/Githubgraf_zpstafle65i.png');
  });
  
  //FreeCodeCamp button hover
  
      var fcc = '<img class = "fccIcon img-responsive" src="http://i1155.photobucket.com/albums/p543/richard_corbett1/fccgraf_zps2sf1csxa.png">'

  var fccTwo = '<img class = "fccIcon img-responsive" src="http://i1155.photobucket.com/albums/p543/richard_corbett1/fccgraf_active_zpsmqx6ewqb.png">'

  $('#freeCodeCamp').append(fcc);

  $('#freeCodeCamp').on('mouseenter', '.fccIcon', function(){
      $(this).closest('.fccIcon').attr('src', 'http://i1155.photobucket.com/albums/p543/richard_corbett1/fccgraf_active_zpsmqx6ewqb.png');
  });

  $('#freeCodeCamp').on('mouseleave', '.fccIcon', function(){
      $(this).closest('.fccIcon').attr('src', 'http://i1155.photobucket.com/albums/p543/richard_corbett1/fccgraf_zps2sf1csxa.png');
  });
});
              
            
!
999px

Console