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

              
                <!-- Navigation -->
<nav class="navbar navbar-expand-md navbar-light bg-light sticky-top">
  <div class="container-fluid">
    <a class="navbar-brand" href="#"><img src="https://image.ibb.co/c6rbFT/logo2.png" class="logo"></a>
    <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive">
				<span class="navbar-toggler-icon"></span>
			</button>
    <div class="collapse navbar-collapse" id="navbarResponsive">
      <ul class="navbar-nav ml-auto">
        <li class="nav-item active">
          <a class="nav-link" href="#home">Home</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" href="#about">About Me</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" href="#service">Services</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" href="#portfolio">Portfolio</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" href="#connect">Connect</a>
        </li>
      </ul>
    </div>
  </div>
</nav>

<!--Big Background Image-->
<div id="slides" class="carousel slide" data-ride="carousel">
  <div id="home" class="carousel-inner">
    <div class="carousel-item active">
      <img src="https://image.ibb.co/mBfQ9o/purple.jpg">
      <div class="carousel-caption">
        <h1 class="display-2">Payton Jewell</h1>
        <h3>Designer & Developer</h3>
        <a href="#about"><button type="button" class="btn btn-outline-light btn-lg">About Me</button></a>
        <a href="#portfolio"><button type="button" class="btn btn-primary btn-lg">Portfolio</button></a>
      </div>
    </div>
  </div>
</div>

<!--- Jumbotron -->
<div class="container-fluid">
  <div class="row jumbotron">
    <div class="col-xs-12 col-sm-12 col-md-9 col-lg-9 col-xl-10">
      <p class="lead"> Sleek, modern, and responsive. I pride myself on creating beautiful things that catch the eye and fit every device.</p>
    </div>
  </div>
</div>

<!--- Welcome Section -->
<div class="container-fluid padding">
  <div class="row welcome text-center">
    <div class="col-12">
      <h1 class="display-4">Resume</h1>
    </div>
    <hr>
    <div class="col-12">
      <p class="lead">Highly skilled in every front-end language to bring the most up-to-date frameworks to your website.</p>
    </div>
  </div>
</div>

<!--- Three Column Section -->
<div class="container-fluid padding">
  <div class="row text-center padding">
    <div class="col-xs-12 col-sm-6 col-md-4">
      <i class="fas fa-code"></i>
      <h3>HTML5</h3>
    </div>
    <div class="col-xs-12 col-sm-6 col-md-4">
      <i class="fas fa-bold"></i>
      <h3>BOOTSTRAP</h3>
    </div>
    <div class="col-md-4">
      <i class="fab fa-css3"></i>
      <h3>CSS3</h3>
    </div>
    <hr class="my-4">
  </div>
</div>

<hr class="my-4">
<!--- Fixed background -->
<figure>
  <div class="fixed-wrap">
    <div id="fixed">
    </div>
  </div>
</figure>

<!--- About Me -->
<div id="about" class="container-fluid padding">
  <div class="row welcome text-center">
    <div class="col-12">
      <h1 class="display-4">About Me</h1>
    </div>
    <hr>
  </div>
</div>

<!--- Cards -->
<div class="container-fluid padding">
  <div class="row padding">
    <div class="col-12">
      <div class="card">
        <img class="card-img-top" src="https://image.ibb.co/en03vT/self.jpg">
        <div class="card-body">
          <h4 class="card-title">Payton Jewell</h4>
          <p class="card-text">I am a 21 year old Wisconsinite who has dabbled in programming for 5+ years, but I am finally at a point in my life that I would like to take it seriously and pursue it on a more professional level! I am an artist by trade and the most amazing
            thing about coding to me is how many artistic applications it can have. I am excited to create beautiful things and show the world what I can do. SoloLearn has proven to be a fantastic resource and, while I may only be a beginner now, I have
            no doubt that it will take me to the next level.</p>
          <br>
          <a href="#" class="btn btn-outline-secondary">See Profile</a>
        </div>
      </div>
    </div>
  </div>
</div>

<!--Services-->
<div id="service" class="container-fluid padding">
  <div class="row welcome text-center padding">
    <div class="col-12">
      <h1 class="display-4">Services Offered</h1>
    </div>
    <hr>
    <div class="col-md-12 col-lg-6">
      <i class="fas fa-desktop"></i>
      <h3>Website Development</h3>
    </div>
    <div class="col-md-12 col-lg-6">
      <i class="fas fa-paint-brush"></i>
      <h3>User Interface Design</h3>
    </div>
    <div class="col-12">
      <i class="fas fa-mobile"></i>
      <h3>Mobile-First Responsive Design</h3>
    </div>
  </div>
  <hr class="my-4">
</div>

<!--Portfolio-->
<div id="portfolio" class="container-fluid padding">
  <div class="row welcome text-center">
    <div class="col-12">
      <h1 class="display-4">Portfolio</h1>
    </div>
    <hr>
  </div>
</div>

<!--- Three Column Section -->
<div class="container-fluid padding">
  <div class="row text-center portfolio">
    <div class="col-xs-12 col-sm-6 col-md-3 portfolio">
      <img src="https://image.ibb.co/h8e7qT/placeholder.jpg">
    </div>
    <div class="col-xs-12 col-sm-6 col-md-3 portfolio">
      <img src="https://image.ibb.co/h8e7qT/placeholder.jpg">
    </div>
    <div class="col-xs-12 col-sm-6 col-md-3 portfolio">
      <img src="https://image.ibb.co/h8e7qT/placeholder.jpg">
    </div>
    <div class="col-xs-12 col-sm-6 col-md-3 portfolio">
      <img src="https://image.ibb.co/h8e7qT/placeholder.jpg">
    </div>
    <hr class="my-4">
  </div>
  <hr class="my-4">
</div>

<!--- Connect -->
<div id="connect" class="container-fluid padding">
  <div class="row text-center padding">
    <div class="col-12">
      <h2>Connect</h2>
    </div>
    <div class="col-12 social padding">
      <a href="#"><i class="fab fa-facebook"></i></a>
      <a href="#"><i class="fab fa-twitter"></i></a>
      <a href="#"><i class="fab fa-google-plus-g"></i></a>
      <a href="#"><i class="fab fa-instagram"></i></a>
      <a href="#"><i class="fab fa-youtube"></i></a>
    </div>
  </div>
</div>

<!--- Footer -->
<footer>
  <div class="container-fluid padding">
    <div class="row text-center">
      <div class="col-md-6">
        <img class="logo" src="https://image.ibb.co/c6rbFT/logo2.png">
        <hr class="light">
        <p>paytontaylor96@gmail.com</p>
        <p>https://github.com/lettiebear</p>
        <p>https://codepen.io/lettiebear</p>
      </div>
      <div class="col-md-6">
        <hr class="light">
        <h5>Links</h5>
        <hr class="light">
        <ul>
          <li><a href="#home">Home</a></li>
          <li><a href="#about">About Me</a></li>
          <li><a href="#service">Services</a></li>
          <li><a href="#portfolio">Portfolio</a></li>
          <li><a href="#connect">Connect</a></li>
        </ul>
      </div>
      <div class="col-12">
        <hr class="light-11">
        <h5>&copy; 2018 payton jewell</h5>
      </div>
    </div>
  </div>
</footer>
              
            
!

CSS

              
                @import url("https://fonts.googleapis.com/css?family=Poppins:400,500,700");

html,
body {
  height: 100%;
  width: 100%;
  font-family: "Poppins", sans-serif;
  color: #222;
  margin: 0;
  padding: 0;
}

.logo {
  width: 3em;
}

.navbar-brand {
  max-width: 10%;
}

.navbar {
  padding: 0.8rem;
}

.navbar-nav li {
  padding-right: 20px;
}

.nav-link {
  font-size: 1.1em !important;
}

.carousel-inner img {
  width: 100%;
  height: 100%;
}

.carousel-caption {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-caption h1 {
  font-size: 500%;
  text-shadow: 1px 1px 15px black;
}

.carousel-caption h3 {
  font-size: 200%;
  font-weight: 500;
  text-shadow: 1px 1px 10px black;
  padding-bottom: 1rem;
}

.btn-primary {
  background-color: #6648b1 !important;
  border: 1px solid #6648b1 !important;
}

.btn-primary:hover {
  background-color: #563d7c;
  border: 1px solid #563d7c;
}

.jumbotron {
  padding: 1rem;
  border-radius: 0;
}

.padding {
  padding-bottom: 2rem;
}

.lead {
  max-width: 75%;
  margin: auto;
  padding-top: 1em;
}

.welcome {
  width: 75%;
  margin: 0 auto;
  padding-top: 2rem;
}

.welcome hr {
  border-top: 2px solid #b4b4b4;
  width: 95%;
  margin-top: 0.3rem;
  margin-bottom: 1rem;
}

.fa-code {
  color: #e54d26;
}

.fa-bold {
  color: #563d7c;
}

.fa-css3 {
  color: #2163af;
}

.fa-code,
.fa-bold,
.fa-css3 {
  font-size: 4em;
  margin: 1rem;
}

.card-img-top {
  max-width: 25%;
  margin: auto;
  padding-top: 1em;
}

.card {
  text-align: center;
}

.card-text {
  max-width: 60%;
  margin: auto;
}

.fa-desktop,
.fa-paint-brush,
.fa-mobile {
  font-size: 4em;
  margin: 1rem;
  color: #9966ff;
}

.social a {
  font-size: 4.5em;
  padding: 3rem;
}

.fa-facebook {
  color: #3b5998;
}

.fa-twitter {
  color: #00aced;
}

.fa-google-plus-g {
  color: #dd4b39;
}

.fa-instagram {
  color: #517fa8;
}

.fa-youtube {
  color: #bb0000;
}

.fa-facebook:hover,
.fa-twitter:hover,
.fa-google-plus-g:hover,
.fa-instagram:hover,
.fa-youtube:hover {
  color: #d5d5d5;
}

.portfolio img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

footer {
  background-color: #3f3f3f;
  color: #d5d5d5;
  margin: 0;
}

hr.light {
  border-top: 1px solid #d5d5d5;
  width: 75%;
  margin-top: 0.8rem;
  margin-bottom: 1rem;
}

footer a {
  color: #d5d5d5;
}

footer ul {
  list-style-type: none;
  text-align: center;
  padding: 0 2rem;
}

hr.light-100 {
  border-top: 1px solid #d5d5d5;
  width: 100%;
  margin-top: 0.8rem;
  margin-bottom: 1rem;
}

/*---Media Queries --*/
@media (max-width: 992px) {
  .social a {
    font-size: 4em;
    padding: 2rem;
  }
}
@media (max-width: 768px) {
  .carousel-caption {
    top: 45%;
  }

  .carousel-caption h1 {
    font-size: 350%;
  }

  .carousel-caption h3 {
    font-size: 140%;
    font-weight: 400;
    padding-bottom: 0.2rem;
  }
  .carousel-caption .btn {
    font-size: 95%;
    padding: 8px 14px;
  }

  .display-4 {
    font-size: 200%;
  }
  .social a {
    font-size: 2.5em;
    padding: 1.2rem;
  }
}
@media (max-width: 576px) {
  .carousel-caption {
    top: 40%;
  }

  .carousel-caption h1 {
    font-size: 250%;
  }

  .carousel-caption h3 {
    font-size: 110%;
  }
  .carousel-caption .btn {
    font-size: 90%;
    padding: 4px 8px;
  }
  .carousel-indications {
    display: none;
  }

  .display-4 {
    font-size: 160%;
  }

  .social a {
    font-size: 2em;
    padding: 0.7rem;
  }
}

/*---Firefox Bug Fix --*/
.carousel-item {
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
  -webkit-backface-visibility: visible;
  backface-visibility: visible;
}
/*--- Fixed Background Image --*/
figure {
  position: relative;
  width: 100%;
  height: 60%;
  margin: 0 !important;
}
.fixed-wrap {
  clip: rect(0, auto, auto, 0);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#fixed {
  background-image: url("https://image.ibb.co/eBrbFT/.jpg");
  position: fixed;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}
/*--- Bootstrap Padding Fix --*/
[class*="col-"] {
  padding: 1rem;
}

/*
Extra small (xs) devices (portrait phones, less than 576px)
No media query since this is the default in Bootstrap

Small (sm) devices (landscape phones, 576px and up)
@media (min-width: 576px) { ... }

Medium (md) devices (tablets, 768px and up)
@media (min-width: 768px) { ... }

Large (lg) devices (desktops, 992px and up)
@media (min-width: 992px) { ... }

Extra (xl) large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }
*/

              
            
!

JS

              
                $("nav").find("a").click(function(e) {
			e.preventDefault();
			var section = $(this).attr("href");
			$("html, body").animate({
				scrollTop: $(section).offset().top
			});
		});
              
            
!
999px

Console