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=Open+Sans" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Amatic+SC|Oswald" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>

<!-- navigation bar -->
<nav id="navbarcontent" class="navbar navbar-custom navbar-fixed-top" role="navigation">
  <div class="container">
    <div class="navbar-header">

      <button type="button" class="navbar-toggle collapsed text-center" data-toggle="collapse" data-target=".collapse-items" aria-expanded="true">
        <span class="sr-only">Toggle Navigation</span>
        <span class="glyphicon glyphicon-chevron-down"></span>
      </button>

      <a class="navbar-brand text-center" href="#">KS</a>
    </div>

    <!-- navbar header -->
    <div class="collapse navbar-collapse collapse-items" id="myNavbar">
      <ul id="navbarlist" class="nav navbar-nav">
        <li><a href="#aboutme"><i class="navicon fa fa-user-o"></i>&nbspAbout</a></li>
        <li><a href="#portfolio"><i class="navicon fa fa-bookmark-o"></i>&nbspPortfolio</a></li>
        <li><a href="#contact"><i class="navicon fa fa-envelope-open-o"></i>&nbspContact</a></li>
      </ul>
    </div>
  </div>
</nav>
<!-- end of navigation bar -->

<!-- creates space between nav bar and main body -->
<div class="spacer">
</div>
<!-- =========================================== -->

<!-- start of INTRO -->
<div id="intro" class="jumbotron jumbotron-fluid">
  <div class="container text-center">
    <h1 id="myname">KYLE SCOTT</h1>
    <div class="row">
      <div class="col-md-offset-3 col-md-6">
        <hr>
      </div>
    </div>
    <h4 id="listundername">
      <i class="fa fa-circle circleicon" aria-hidden="true" style="font-size:5px"></i> HTML5
      <i class="fa fa-circle circleicon" aria-hidden="true" style="font-size:5px"></i> CSS3
      <i class="fa fa-circle circleicon" aria-hidden="true" style="font-size:5px"></i> Bootstrap
      <i class="fa fa-circle circleicon" aria-hidden="true" style="font-size:5px"></i> JQuery
      <i class="fa fa-circle circleicon" aria-hidden="true" style="font-size:5px"></i>
    </h4>
  </div>

  <div class="solidbackground text-center">
    <div class="container" id="aboutme">
      <h1 class="text-left">About Me...</h1>
      <div class="row">
        <div class="col-md-8">
          <p class="text-left"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi maximus neque tempor, suscipit elit eu, varius lacus. Maecenas sed justo libero. Maecenas ac lectus vel leo blandit suscipit eu convallis leo. Vestibulum nulla tortor, egestas non
            dignissim gravida, imperdiet in lacus. Nulla facilisi. In vel erat commodo, pellentesque purus pellentesque, scelerisque eros. Sed aliquet gravida libero nec ultricies. Ut gravida nunc diam, at sagittis tellus congue non. Nullam vitae ligula
            id nisl porttitor malesuada vel nec nisl. Cras vel arcu risus. Morbi nec dui fermentum, mollis risus non, tincidunt arcu.
            <br>
            <br> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi maximus neque tempor, suscipit elit eu, varius lacus. Maecenas sed justo libero. Maecenas ac lectus vel leo blandit suscipit eu convallis leo. Vestibulum nulla tortor, egestas
            non dignissim gravida, imperdiet in lacus. Nulla facilisi. In vel erat commodo, pellentesque purus pellentesque, scelerisque eros. Sed aliquet gravida libero nec ultricies. Ut gravida nunc diam, at sagittis tellus congue non. Nullam vitae
            ligula id nisl porttitor malesuada vel nec nisl. Cras vel arcu risus. Morbi nec dui fermentum, mollis risus non, tincidunt arcu.
          </p>
        </div>
        <div class="col-md-4">
          <a href="https://placeholder.com"><img id="circleportrait" class="img-circle" src="http://via.placeholder.com/250x250" alt="placeholder-image"></a>
        </div>
      </div>
    </div>
  </div>
</div>
<!-- end of INTRO -->

<!-- start of PORTFOLIO -->
<div id="portfolio" class="jumbotron jumbotron-fluid">
  <div class="container">
    <h1 id="myportfolio" class="text-left">Portfolio...</h1>
    <div class="row">
      <div class="col-md-8">
        <p class="text-left">In this section you will find some examples of my recent work.
        </p>
      </div>
    </div>

    <div class="row">
      <div class="col-md-4">
        <a href="https://placeholder.com"><img class="card" src="http://via.placeholder.com/350x150" alt="placeholder"></a>
      </div>
      <div class="col-md-4">
        <a href="https://placeholder.com"><img class="card" src="http://via.placeholder.com/350x150" alt="placeholder"></a>
      </div>
      <div class="col-md-4">
        <a href="https://placeholder.com"><img class="card" src="http://via.placeholder.com/350x150" alt="placeholder"></a>
      </div>
    </div>
    <div class="row">
      <div class="col-md-4">
        <a href="https://placeholder.com"><img class="card" src="http://via.placeholder.com/350x150" alt="placeholder"></a>
      </div>
      <div class="col-md-4">
        <a href="https://placeholder.com"><img class="card" src="http://via.placeholder.com/350x150" alt="placeholder"></a>
      </div>
      <div class="col-md-4">
        <a href="https://placeholder.com"><img class="card" src="http://via.placeholder.com/350x150" alt="placeholder"></a>
      </div>
    </div>
  </div>
</div>
<!-- end of PORTFOLIO -->

<div class="solidbackground text-center">
  <div class="container" id="contact">

    <div class="row">
      <div class="col-md-offset-2 col-md-8">
        <h1 class="text-left">Contact Me...</h1>
        <p class="text-left">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi maximus neque tempor, suscipit elit eu, varius lacus. Maecenas sed justo libero. Maecenas ac lectus vel leo blandit suscipit eu convallis leo. Vestibulum nulla tortor, egestas non
          <div>

            <h3 class="followme">Follow me... </h3>
            <!-- facebook link -->
            <a href="https://www.facebook.com/kylescott1818" target="_blank"><i class="fa fa-facebook-square fa-3x contactmeicon" aria-hidden="true"></i></a>

            <!-- instagram link -->
            <a href="https://www.instagram.com/kyle_18_scott/?hl=en" target="_blank"><i class="fa fa-instagram fa-3x contactmeicon" aria-hidden="true"></i></a>

            <!-- codepen link -->
            <a href="https://codepen.io/Kyle1818/" target="_blank"><i class="fa fa-codepen fa-3x contactmeicon" aria-hidden="true"></i></a>

          </div>
        </p>
      </div>
    </div>
  </div>
</div>

<!-- start of FOOTER -->

<div id="footer" class="container-fluid">
  <div>
    <div class="container">
      <p> Kyle Scott <i class="fa fa-copyright" aria-hidden="true"></i> 2018 | All rights reserved</p>
    </div>
  </div>
</div>

<!-- end of FOOTER -->
              
            
!

CSS

              
                

/* navbar settings */
.navicon {
  position: relative;
  top: -1px;
  padding-right: 3px;
}
.navbar-custom {
  background-color: #fff;
  color: #1d2120;
  box-shadow: 0px 4px 5px grey
}

.navbar-custom .navbar-nav > li > a {
    color: #1d2120;
}

.navbar-custom .navbar-nav > .active > a {
    color: #1d2120;
    background-color:transparent;
}

.navbar-custom .navbar-nav > li > a:hover,
.navbar-custom .navbar-nav > li > a:focus,
.navbar-custom .navbar-nav > .active > a:hover,
.navbar-custom .navbar-nav > .active > a:focus,
.navbar-custom .navbar-nav > .open >a {
    text-decoration: none;
    background-color: #bcd5d1;
    border-radius: 5px;
}

.navbar-custom .navbar-brand {
    color: #1d2120;
}
.navbar-custom .navbar-toggle {
    background-color: #1d2120;
}
.navbar-custom .icon-bar {
    background-color:#33aa33;
}

#navbarcontent {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
}

#navbarlist {
  display: inline;
  float: right;
}

/* images and graphics */
h1 {
  font-size: 62px !important;
}

#myname {
  color: #1d2120;
  font-family: 'Amatic SC', cursive;
  margin-top: 70px;
}

#listundername {
  color: #1d2120;
  font-family: 'Oswald', sans-serif;
  margin-bottom: 105px;
}

.circleicon {
  position: relative;
  top: -4px;
  padding-left: 15px;
  padding-right: 15px;
  color: #ba9077;
}

hr {
  border-color: #ba9077 !important;
}

.spacer {
  padding-top: 40px;
}

#circleportrait {
  border: solid;
  border-color: #ba9077;
}

#contactcircle {
  border: solid;
  border-color: #ba9077;
}

.solidbackground {
  background-color: #5a5c51;
  padding-top: 50px;
  padding-bottom: 50px;
}

.jumbotron {
   background: url("http://www.designbolts.com/wp-content/uploads/2012/12/Grey-Jean-White-Seamless-Patterns-For-Website-Backgrounds.jpg"); 
  background-attachment: fixed;
  margin-bottom: 0px !important;
}

.card {
  border-radius: 10px;
  border-style: solid;
  border-width: 2px;
  border-color: #ba9077;
  margin-top: 15px;
  margin-bottom: 15px;
}

.contactmeicon {
  padding-top: 5px;
  padding-right: 8px;
  padding-left: 8px;
  color: white;
  font-weight: bold;
}
  
.contactmeicon:hover {
  color: #bcd5d1;
}

.followme {
  padding-top: 50px;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  color: #FFF;
}


/* main body settings */
#aboutme {
  color: #bcd5d1; 
  font-family: 'Amatic SC', cursive;
}

#aboutme p {
  color: #bcd5d1; 
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
}

#myportfolio {
  color: #1d2120;
  font-family: 'Amatic SC', cursive;
}

#portfolio p {
  color: #1d2120; 
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
}

#contact {
  color: #bcd5d1; 
  font-family: 'Amatic SC', cursive;
}

#contact p {
  color: #bcd5d1; 
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
}


/* footer settings */
#footer {
  height: 100%;
  color: #000;
  background-color: #fff;
  font-size: 12px;
  padding-top: 10px;
  text-align: center;
  box-shadow: 5px 0px 5px grey;
}
              
            
!

JS

              
                //for smooth scrolling navigation
$(document).ready(function(){
  // Add smooth scrolling to all links
  $("a").on('click', function(event) {

    // Make sure this.hash has a value before overriding default behavior
    if (this.hash !== "") {
      // Prevent default anchor click behavior
      event.preventDefault();

      // Store hash
      var hash = this.hash;

      // Using jQuery's animate() method to add smooth page scroll
      // The optional number (800) specifies the number of milliseconds it takes to scroll to the specified area
      $('html, body').animate({
        scrollTop: $(hash).offset().top
      }, 800, function(){
   
        // Add hash (#) to URL when done scrolling (default click behavior)
        window.location.hash = hash;
      });
    } // End if
  });
});
              
            
!
999px

Console