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

              
                <nav class="navbar navbar-default navbar-fixed-top dark-navbar" id="main-navbar" role="navigation">
  <div class="container">
    <div class="row">
      <div>
        <div class="navbar-header">
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#my-navbar">
            <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 page-scroll" href="#about">Aaron Kvarnlov-Leverty</a>
        </div>
      </div>
      <div class="collapse navbar-collapse"id="my-navbar">
         <ul class="nav navbar-nav navbar-right nav-pills">
          <li class="hidden"><a class="page-scroll" href="#page-top"></a></li>
          <li class="nav-item page-scroll"><a href="#about">About</a></li>
          <li class="nav-item page-scroll"><a href="#projects">Projects</a></li>
          <li class="nav-item page-scroll"><a href="#contact">Contact</a></li>
        </ul>
      </div>
    </div>
</nav>


  <section id="about">
    <div class="container">
    <h1>About Me</h1>
      <hr>
    <div class="row">      
      <div class="col-md-4 portfolio-face-div">
        <img src=https://res.cloudinary.com/bozeman42/image/upload/v1478921584/clouds_nix733.jpg class="img img-responsive portfolio-face-img" alt="A stylized picture of Aaron Kvarnlov-leverty's face, wearing a conical yellow party hat."> 
      </div><!--close col-sm-4-->
      
      <div class="col-md-8 portfolio-about-text">
        <p>Hello! My name is Aaron Kvarnlov-Leverty and I am learning to code with HTML5, CSS, and JavaScript. I will be expanding my skillset as time goes on and will bring those skills here.</p>        
      </div> <!--close portfolio-about-text-->          
    </div> <!-- close row-->
    </section>
  </div> <!--close container -->
</section>
  
  
<section id="projects">
  <div class="container">
    <h1>Projects</h1>
    <hr>
    <div class="row">
      <div class="col-md-4">
        <a href="https://codepen.io/bozeman42/full/qaGxjB/" target="blank">
        <div class="thumbnail">
          <div class="project-thumbnail-image">
            <img src="https://res.cloudinary.com/bozeman42/image/upload/v1479143996/tribute-img_xvlsaf.png" class="project-img" alt="A thumbnail image of a Carl Sagan Tribute Page">
          </div>
          <div class="caption">
            <p>Carl Sagan Tribute Page</p>
          </div> <!--close caption-->
        </div><!--close thumbnail-->
          </a>
      </div><!--close column-->
      <div class="col-md-4">
        <a href="http://www.brassdoggames.com" target="blank">
        <div class="thumbnail">
          <div class="project-thumbnail-image">
            <img src="https://res.cloudinary.com/bozeman42/image/upload/v1490764783/BDG_site_thumb.png" class="project-img" alt="Brass Dog Games Website">
          </div>
          <div class="caption">
            <p>Brass Dog Games Website</p>
          </div> <!--close caption-->
        </div><!--close thumbnail-->
        </a>
      </div><!--close column-->
      <div class="col-md-4">
        <a href="https://codepen.io/bozeman42/full/ZBzqdx/" target="blank">
        <div class="thumbnail">
          <div class="project-thumbnail-image">
            <img src="https://res.cloudinary.com/bozeman42/image/upload/v1479226374/portfolio-img.png" class="project-img" alt="A thumbnail image of this portfolio page.">
          </div>
          <div class="caption">
            <p>Portfolioception</p>
          </div> <!--close caption-->
        </div><!--close thumbnail-->
        </a>
      </div><!--close column-->
    </div><!--close row-->
      <div class="row">
      <div class="col-md-4">
        <a href="https://codepen.io/bozeman42/full/NpWWWP/" target="blank">
        <div class="thumbnail">
          <div class="project-thumbnail-image">
<img src="http://res.cloudinary.com/bozeman42/image/upload/v1500178801/weather_uuuvdw.png" class="project-img" alt="Weather App">
          </div>
          <div class="caption">
            <p>Current Local Weather App</p>
          </div> <!--close caption-->
        </div><!--close thumbnail-->
          </a>
      </div><!--close column-->
      <div class="col-md-4">
        <a href="https://codepen.io/bozeman42/full/MJqOgv/" target="blank">
        <div class="thumbnail">
          <div class="project-thumbnail-image">
            <img src="http://res.cloudinary.com/bozeman42/image/upload/v1500178864/quote_w3yih4.png" class="project-img" alt="Quote Generator App">
          </div>
          <div class="caption">
            <p>Random Quote Generator</p>
          </div> <!--close caption-->
        </div><!--close thumbnail-->
        </a>
      </div><!--close column-->

    </div><!--close row-->
  </div> <!-- close project container -->
</section>
<section id="contact">
  <div class="container">
    <div class="row">
      <div class="col-lg-offset-8">
        <!--<a href="https://www.facebook.com/aaron.kvarnlovleverty" target="_blank"><span class="fa fa-fw fa-facebook social" id="facebook-icon" aria-hidden="true" alt="Facebook page">
</span>
<span class="sr-only">Facebook profile
            </span>
</a>
      <a href="https://twitter.com/bozeman42" target="_blank">
<span class="fa fa-fw fa-twitter social" id="twitter-icon" aria-hidden="true" alt="Twitter profile"></span>
<span class="sr-only">Twitter profile
            </span>
</a>
      <span class="fa fa-fw fa-envelope social" id="email-icon" aria-hidden="true"></span>
-->
          <a href="https://www.freecodecamp.com/bozeman42" target="_blank">
            <span class="fa fa-fw fa-free-code-camp social" id="fcc-icon" aria-hidden="true"></span>
            <span class="sr-only">Free Code Camp profile
            </span>
          </a>
          <a href="https://github.com/bozeman42" target="_blank">
            <span class="fa fa-fw fa-github social" id="github-icon" aria-hidden="true"></span>
            <span class="sr-only">Github profile
            </span>
          </a>
          <a href="https://www.linkedin.com/in/aaron-kvarnlov-leverty-71a1207a/" target="_blank">
            <span class="fa fa-fw fa-linkedin social" id="linkedin-icon" aria-hidden="true"></span>
            <span class="sr-only">Linkedin profile
             </span>
          </a>
      </div><!--col-md-offeset -->
    </div><!-- row -->
  </div> <!-- container-->
</section>



              
            
!

CSS

              
                body {
  padding-top: 50px;
  position: relative;
  background-color: #333333;
  font-family: "Raleway";
}

#about .container {
  background-color: #444;
  color: #ddd;
  padding: 0 50px 0 50px;
}

#projects .container {
  color: #eee;
  background-color: #555;
  padding: 0 50px 0 50px;
}

#contact > .container {
  height: 70px;
  background-color: #ccc;
  color: #555;
  padding: 10px 50px;
  text-align: center;
}

section {
  font-family: 'Raleway', sans-serif;
}

hr {
  border-color: #ddd;
  width: 75%;
}

nav {
  font-family: 'Raleway', sans-serif;
}

.dark-navbar {
  background-color: #222;
  border-color: black;
}

.dark-navbar .navbar-brand {
  color: #bbb;
  transition: .5s;
}

.dark-navbar .navbar-brand:hover {
  background-color: #ddd;
  color: #222;
  border-radius: 10px;
}

.dark-navbar .navbar-brand:active {
  background-color: #222;
}

.nav-item {
  transition: .3s;
}
.page-scroll {
  transition: .5s;
}
.nav-pills .nav-item:hover {
  background-color: #ddd;
  color: #222;
  border-radius: 5px;
  transition: .5s;
}

.nav-pills .nav-item:active {
  background-color: #555;
  color: #aaa;
  transition: .1s;
}


.dark-navbar .navbar-brand:focus {
    color: #222;
    background-color: #e7e7e7;
    border-radius: 10px;
    transition: .5s;
}

.portfolio-face-img {
  border-radius: 15%;
  width: 200px;
  margin: auto;
}

.portfolio-face-div {
  padding: 15px;
}

.portfolio-about-text {
  padding: 30px 0;

}


.portfolio-about-text p {
    font-size: 160%;
}
@media (min-width: 992px){
.portfolio-about-text p {
  text-align: left;
  margin: 5% 5px;
}
}
@media (max-width: 991px) {
  .portfolio-about-text p {
    text-align: center;
    margin: auto;
  }
  
}


section .container h1 {
  padding-top: 15px;
  text-align: center;
  
}

#main-navbar .container {
  max-width: 992px;
  margin-left: auto;
  margin-right: auto;
}

section .container {
  max-width: 992px;
  margin-left: auto;
  margin-right: auto;
}

.project-thumbnail-image {
  width: 97%;
  height: 250px;
  margin: auto;
  overflow: hidden;
}

.project-thumbnail-image img {
  border-width: 1px;
  border-style: solid;
  border-color: black;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

#projects .thumbnail {
  background-color: #222;
  border-color: black;
}

#projects .thumbnail .caption {
  color: #e4e4e4;
}

.social {
  border-color: #bbb;
  background-color: transparent;
  border-style: solid;
  border-width: 2px;
  display: inline-block;
  -o-transition:.2s;
  -ms-transition:.2s;
  -moz-transition:.2s;
  -webkit-transition:.2s;
  transition:0.2s;
  font-size: 200%;
  width: 45px;
  height: 45px;
  padding-top: 8px;
  border-radius: 20%;
  z-index: 0;
  margin: 2px;
}
@media (min-width: 900px) {
  .social:hover {
    transform: scale(1.25);
    z-index: 1;
  }
}

.social:hover {
  border-color: black;
  z-index: 1;
}

#facebook-icon {
  color: #3b5998;
}

#facebook-icon:hover {
  color: white;
  background-color: #3b5998;
}

#twitter-icon {
  color: #00ACED;
}

#twitter-icon:hover {
  color: white;
  background-color: #00ACED;
}

#email-icon {
  color: #555555;
}

#email-icon:hover {
  color: white;
  background-color: #555555;
}

@media (min-width: 900px) {
  .social-icon:hover {
  transform: scale(1.25);
  }
}


#fcc-icon {
  color: darkgreen;
}

#fcc-icon:hover {
  color: white;
  background-color: darkgreen;
}

#github-icon {
  color: black;
}

#github-icon:hover {
  color: white;
  background-color: black;
}

#linkedin-icon {
  color: #0077B5;
}

#linkedin-icon:hover {
  color: white;
  background-color: #0077B5;
}
              
            
!

JS

              
                var navbarheight = $('#main-navbar').outerHeight();
var scrolltime = 400;



$(document).ready(function(){

$('body').scrollspy({target: ".navbar", offset: navbarheight+1});
$("#main-navbar a").on('click', function(event){
  if (this.hash !== "") {
    event.preventDefault();
    var hash = this.hash;
    $('html, body').animate({
      scrollTop: $(hash).offset().top -navbarheight
    }, scrolltime, function(){
      window.location.hash = hash;
    });
  }
});
});
              
            
!
999px

Console