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

              
                <!--Menu-->

    
    
    <nav class="navbar navbar-inverse navbar-fixed-top">
      <div class="container">
        
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse-4">
            <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="#home">Hermes Web Development</a>
        </div>
    
        
        <div class="collapse navbar-collapse" id="navbar-collapse-4">
          <ul class="nav navbar-nav navbar-right">
            <li><a href="#home">Home</a></li>
            <li><a href="#about">About</a></li>
            <li><a href="#portfolio">Portfolio</a></li>
            
            <li><a href="#contact">Contact</a></li>
            
          </ul>
        
           
        </div><!-- /.navbar-collapse -->
      </div><!-- /.container -->
    </nav><!-- /.navbar -->
</div><!-- /.container-fluid -->

<!--Panel 1-->

<div class="panel1" id="home">

  <section>
    <h1 class="title-text">Hermes Web Development</h1>
    <h2 class="subtitle-text">Let the god of messages<i class="glyphicon glyphicon-flash
      "></i><br> help you get your message across.</h2>
    
    <h2 class="subsub">A Portfolio Page for Joe Rezendes</h2>
    
    
    
  </section>

</div>

<div class="panel2" id="about">

  <section>

    <h1 class="title2">I blugeon Projects Like There's No Business.</h1>

    <h2 class="sub2">"Your project should be intuitive to use, and it should also be a work of art that pleases the gods."</h2>
    
    <h2 class="subsub2">I contact the gods<br> above to bring your projects<br> to the world below.</h2>
    
    <h2 class="subsubsub2">I am Joe Rezendes, an up and coming front-end web developer.</h2>
    
  </section>

</div>

<div class="panel3" id="portfolio">

  <section>

    <h3 class="title3">Let our works be the muse that inspires you.</h3>

  <br>
  <a href="https://codepen.io/hermes/full/gxWqdz/" target="_blank">
  <img class="port1" src="https://image.ibb.co/bXAxEv/gene_kelly_tribute.png" alt="Tribute">
    </a>
     <img class="port2" src="http://www.html5gamedevs.com/uploads/monthly_2017_08/image.jpg.31a662f3a122c7509c42474ce5346aeb.jpg">
     <img class="port3" src="http://www.html5gamedevs.com/uploads/monthly_2017_08/image.jpg.31a662f3a122c7509c42474ce5346aeb.jpg">
    <br>
    
     <img class="port4" src="http://www.html5gamedevs.com/uploads/monthly_2017_08/image.jpg.31a662f3a122c7509c42474ce5346aeb.jpg">
    
     <img class="port5" src="http://www.html5gamedevs.com/uploads/monthly_2017_08/image.jpg.31a662f3a122c7509c42474ce5346aeb.jpg">
    
     <img class="port6" src="http://www.html5gamedevs.com/uploads/monthly_2017_08/image.jpg.31a662f3a122c7509c42474ce5346aeb.jpg">
    
  </section>
</div>

<div class="panel4" id="contact">

  <section>

    <h3 class="title4">Send us the thunder.</h3>
<div class="forms">
    <div class="container">
	<div class="row">
      <div class="col-md-4 col-md-offset-3">
        <div class="well well-sm">
          <form class="form-horizontal" action="" method="post">
          <fieldset>
            <legend class="text-center">Contact us</legend>
    
            <!-- Name input-->
            <div class="form-group">
              <label class="col-md-3 control-label" for="name">Name</label>
              <div class="col-md-9">
                <input id="name" name="name" type="text" placeholder="Your name" class="form-control">
              </div>
            </div>
    
            <!-- Email input-->
            <div class="form-group">
              <label class="col-md-3 control-label" for="email">Your E-mail</label>
              <div class="col-md-9">
                <input id="email" name="email" type="text" placeholder="Your email" class="form-control">
              </div>
            </div>
    
            <!-- Message body -->
            <div class="form-group">
              <label class="col-md-3 control-label" for="message">Your message</label>
              <div class="col-md-9">
                <textarea class="form-control" id="message" name="message" placeholder="Please enter your 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">Submit</button>
              </div>
            </div>
          </fieldset>
          </form>
        </div>
      </div>
	</div>
</div>
    </div>
    
    <!--Begin social icons-->
    
     <div class="social-media-links">
        <a href="https://twitter.com/TheSlidelock" class="social-button" target="_blank"><i class="fa fa-twitter social-icon-small"></i>Twitter</a>
        <a href="https://github.com/hermeticlock" class="social-button" target="_blank"><i class="fa fa-github social-icon-small"></i> Github</a>
       
        <a href="https://www.freecodecamp.org/hermeticlock" class="social-button" target="_blank"><i class="fa fa-fire social-icon-small">    </i>FreeCodeCamp</a>
      </div>
    
  </section>

</div>

<div class="navbar"><center>
  <p class="footerp">Written and Coded by Joe Rezendes <i class="glyphicon glyphicon-music"></i></p>
  </center>
</div>

              
            
!

CSS

              
                /**Begin Menu**/

/**End Menu **/

body {
  background-color: black;
}

/**Begin Panel 1 **/

.panel1 {
  display: flex;
  /**padding-top: 700px;**/
   height: 1400px; 

  background-position: ;

  background-repeat: no-repeat;
  background-image: url("https://image.ibb.co/gzhxEv/hermes.jpg");
  background-size: 100% 100%;
}

.textshape {}

.title-text {
 padding-top:20%;

  font-size: 500%;
}

.subtitle-text {
  padding: 0px;
  padding-left: 10%;
  font-size: 300%;
}

.subsub {
  margin-left: 20%;
  margin-top: 5%;
}

/**End Panel 1**/

/**Begin Panel 2**/

.panel2 {
  display: flex;

  background-position: ;
  background-margin-left: 200px;
  background-repeat: no-repeat;
  background-image: url("https://image.ibb.co/gqTyMa/andreos.jpg");
  background-size: 100% 100%;
  height: 1400px;
  
 
  
}

  

.title2 {
  padding: -2%;
  margin-top: 28%;
  margin-left: 50%;
  font-size: 500%;
  text-align: center;
}

.sub2 {
  padding: 6%;
  
  margin-left: 63%;
  font-size: %;
  color: ;
  text-align: center;
   
}

.subsub2 {
  margin-left: 67%;
  margin-top: -1%;
 padding: -45%;
  color: ;
}
.subsubsub2 {
  margin-top: 5%;
  margin-left: 68%;
}

/**Begin Panel 3**/

.panel3 {
  display: flex;

  background-position: ;
  background-margin-left: ;
  background-repeat: no-repeat;
  background-image: url("https://image.ibb.co/mEENga/apollo.jpg");
  background-size: 100% 100%;
  height: 900px;
}

.title3 {
  padding: 0%;
  margin-top: 10%;
  padding-left: 60%;
  font-size: 400%;
  
}

.port1 {
  padding-left: 65%;
    padding-top: %;
}

.port 2{padding-top: 10%;}

.port 3{padding-top: 10%;}

.port4 {
  padding-left: 65%;
  margin-top: 1%;
}

.port5 {
  margin-top: 1%;
}
.port6 {
  margin-top: 1%;
}

/**Begin Panel 4**/

.panel4 {
  display: flex;

  background-repeat: no-repeat;
  background-image: url("https://preview.ibb.co/ibMk1a/Zeus.jpg");
  background-size: 100% 100%;
  height: 1000px;
}

.title4 {
  padding: 50px;
  margin-top: 100px;
  margin-left: 10px;
  font-size: 500%;
}

.forms {
  float: left;
}

/**Social Icons**/

.social-media-links {
  display: horizontal;
  justify-content: center;
  align-items: center;
  margin-left: 300px;
  a:visited, a:active, a:focus {
    text-decoration: none;
  }
}

.social-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 50px;
  background-color: rgba(0, 0, 0, .2);
  font-family: $secondaryFont;
  font-size: 1.5em;
  color: rgb(0, 0, 0);
  margin: 0 10px;
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, .8);
  border-radius: 10px;

  &:hover {
    text-decoration: none;
    background-color: rgba(0, 0, 0, .8);
    transform: scale(1.1);
    transition: .5s;
    color: rgb(255, 255, 255);
    border: 1px inset rgb(255, 255, 255);
  }
}

.social-icon-small {
  margin-right: 10px;
}

.footerp {color: white;
margin-left: auto;
margin-right: auto;
padding-top: 2%;}
              
            
!

JS

              
                // Smooth scrolling
// Select all links with hashes
$('a[href*="#"]')
  // Remove links that don't actually link to anything
  .not('[href="#"]')
  .not('[href="#0"]')
  .click(function(event) {
    // On-page links
    if (
      location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') 
      && 
      location.hostname == this.hostname
    ) {
      // Figure out element to scroll to
      var target = $(this.hash);
      target = target.length ? target : $('[name=' + this.hash.slice(1) + ']');
      // Does a scroll target exist?
      if (target.length) {
        // Only prevent default if animation is actually gonna happen
        event.preventDefault();
        $('html, body').animate({
          scrollTop: target.offset().top
        }, 1000, function() {
          // Callback after animation
          // Must change focus!
          var $target = $(target);
          $target.focus();
          if ($target.is(":focus")) { // Checking if the target was focused
            return false;
          } else {
            $target.attr('tabindex','-1'); // Adding tabindex for elements not focusable
            $target.focus(); // Set focus again
          };
        });
      }
    }
  });
              
            
!
999px

Console