Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ 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

              
                    <script>document.body.className += ' fade-out';</script>
<nav class="navbar fixed-top navbar-expand-lg navbar-dark n-color" id="navBar">
  <a class="navbar-brand brandFont" href="#">jP</a>
  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
    <span class="navbar-toggler-icon"></span>
  </button>

  <div class="collapse navbar-collapse" id="navbarSupportedContent">
    <ul class="navbar-nav justify-content-center d-flex flex-fill">
      <li class="nav-item">
        <a class="nav-link" href="#">Home<span class="sr-only">(current)</span></a>
      </li>
      <li class="nav-item">
        <a class="nav-link" href="#lAnchor">Work</a>
      </li>
      <li class="nav-item">
        <a class="nav-link" href="#lAnchor2">Contact</a>
      </li>
    </ul>
    </div>
</nav>

<div class="container landingDiv text-center" id="landingPage">
  
  <h1>Hi, I'm <strong>Juan Pablo Orrego</strong>, <br>a future <strong>front end developer</strong>. </h1>
</div>


<div class="container-fluid secondDiv text-center" >
<!--Anchor-->  
  <p style="position:relative;">
    <a id="lAnchor" style="position:absolute; top:-200px;"></a>
</p>
<!--Anchor-->
  
  <h2 id="workH21" >Technologies I'm actively working to get better at</h2>
    <div class="container techContainer">
      <div class="row">
       <div class="col-lg-6 col-md-6 col-sm-6 col-6" >
          <p><a href="https://developer.mozilla.org/en-US/docs/Web/HTML"><i class="ihover fab fa-html5"></i></a></p>
       </div>
       <div class="col-lg-6 col-md-6 col-sm-6 col-6" >
          <p><a href="https://developer.mozilla.org/en-US/docs/Web/CSS"><i class="ihover fab fa-css3-alt"></i></a></p>
       </div>
       <div class="col-lg-6 col-md-6 col-sm-6 col-6" >
        <p><a href="https://reactjs.org/"><i class="ihover fab fa-react"></i></a></p>
       </div>
       <div class="col-lg-6 col-md-6 col-sm-6 col-6" >
        <p><a href="https://www.javascript.com/"><i class="ihover fab fa-js"></i></a></p>
       </div>
     </div>
    <h2 id="workH22">And the work I've done with them</h2>
  
    <div class="row">
      <div class="col-lg-4 col-md-4 col-sm-6 col-6 card card-color cHover">
        <img class="card-img-top" src="http://www.apexcartage.com/wp-content/uploads/2014/05/placeholder-blue.png" alt="Card image cap">
        <div class="card-body">
          <h5 class="card-title">Project #1</h5>
        </div>
      </div>
      <div class="col-lg-4 col-md-4 col-sm-6 col-6 card card-color cHover">
        <img class="card-img-top" src="http://www.apexcartage.com/wp-content/uploads/2014/05/placeholder-blue.png" alt="Card image cap">
        <div class="card-body">
          <h5 class="card-title">Project #2</h5>
        </div>
      </div>
      <div class="col-lg-4 col-md-4 col-sm-6 col-6 card card-color cHover">
        <img class="card-img-top" src="http://www.apexcartage.com/wp-content/uploads/2014/05/placeholder-blue.png" alt="Card image cap">
        <div class="card-body">
          <h5 class="card-title">Project #3</h5>
        </div>
      </div>
      <div class="col-lg-4 col-md-4 col-sm-6 col-6 card card-color cHover">
        <img class="card-img-top" src="http://www.apexcartage.com/wp-content/uploads/2014/05/placeholder-blue.png" alt="Card image cap">
        <div class="card-body">
          <h5 class="card-title">Project #4</h5>
        </div>
      </div>
      <div class="col-lg-4 col-md-4 col-sm-6 col-6 card card-color cHover">
        <img class="card-img-top" src="http://www.apexcartage.com/wp-content/uploads/2014/05/placeholder-blue.png" alt="Card image cap">
        <div class="card-body">
          <h5 class="card-title">Project #5</h5>
        </div>
      </div>
      <div class="col-lg-4 col-md-4 col-sm-6 col-6 card card-color cHover">
        <img class="card-img-top" src="http://www.apexcartage.com/wp-content/uploads/2014/05/placeholder-blue.png" alt="Card image cap">
        <div class="card-body">
          <h5 class="card-title">Project #6</h5>
        </div>
      </div>
    </div>
  
  </div> 
</div>

<div class="container-fluid text-center con-div">
 <!--Anchor-->
  <p style="position:relative;">
    <a id="lAnchor2" style="position:absolute; top:-150px;"></a>
</p>
<!--Anchor-->
  
  <h2 id="interested">Interested in working together?</h2>
  
  <div class="container">
  <form action="/action_page.php">
    <div class="form-group">
      <label for="email">Email address</label>
      <input type="email" class="form-control" id="email">
    </div>
    <div class="form-group">
      <label for="pwd">Phone Number</label>
      <input type="text" class="form-control" id="pwd">
    </div>
    
    <div class="form-group">
      <label for="textarea">Tell me about your idea</label>
      <textarea name="textarea" class="form-control"></textarea>
    </div>
    <div class="form-group">
      <input type="submit" class="btn" id="submit" disabled>
    </div>
    </form>
    </div>
  
  <hr>
  
  <div class="container cContainer">
  <div class="row">
    <div class="col-lg-4 col-md-4 col-sm-4 col-xs-4">
      <a class="bottomAnchor" href="https://forum.freecodecamp.org/u/Gantork/activity"><i class="fab fa-free-code-camp contactIcons"></i></a>
    </div>
    <div class="col-lg-4 col-md-4 col-sm-4 col-xs-4">
      <a class="bottomAnchor" href="https://www.behance.net/JPOrrego"><i class="fab fa-behance contactIcons"></i></a>
    </div>
    <div class="col-lg-4 col-md-4 col-sm-4 col-xs4">
      <a class="bottomAnchor" href="https://github.com/Gantork"><i class="fab fa-github contactIcons"></i></a>
    </div>
   </div>
  </div>

</div>

</div>
</div>


<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js" integrity="sha384-smHYKdLADwkXOn1EmN1qk/HfnUcbVRZyYmZ4qpPea6sjB/pTJ0euyQp0Mk8ck+5T" crossorigin="anonymous"></script>
              
            
!

CSS

              
                body {
  background: #171823;
  font-family: Amatic SC;
  font-family: Raleway;
  
/*  font-family: Amatic SC;
  font-size: 30px; */
}
html {
     scroll-behavior: smooth;
}
.landingDiv {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  color: #edf2f4;
}
.n-color{
  background-color: #171823;
  padding-left: 40px;
  padding-right: 40px;
}
.secondDiv {
  background: #f4f4f4;
  padding-top: 100px;
  padding-bottom: 100px;
  
}
p {
  font-size: 150px;
}
.ihover {
  transition: all .2s;
}
.ihover:hover{
  color: #1b98e0;
  font-size: 155px;
}
#workH21{
  margin-bottom: 100px;
  }
#workH22{
  margin-top: 200px;
  margin-bottom: 100px;
  }
.techContainer{
  color: #171823;
}

a:{color:#3F7AB8;}      /* unvisited link */
a:visited {color:#3F7AB8;}  /* visited link */
a:active {color:#3F7AB8;}  /* selected link */

.w-container {
  color: #f4f4f4;; 
}
.card-color {
  padding: 0px;
  border: 2px solid #f4f4f4;
  background: #f4f4f4;
  transition: all .2s;
  
}
  
.cHover:hover{
    border: none;  
    transform: scale(1.03);
    z-index: 10;
    box-shadow: 2px 2px 70px #333;    
  }
.con-div{
  background: #ef233c;
  padding-top: 100px;
  padding-bottom: 50px;
  color: #f4f4f4;
  
}
input[type=email], input[type=text] {
  width: 80%;
  max-width: 380px;
  margin: 0 auto;
}
textarea{
  width: 80%;
  max-width: 380px;
  margin: 0 auto;
  height: 200px;
}
#interested{
  margin-bottom: 50px;
}
hr{
  max-width: 500px;
  width: 70%;
  margin-top: 120px;
  margin-bottom: 40px;
  background: white;  
}
.contactIcons {
  font-size: 50px;
  margin: 10px;
  transition: all .3s;
}
.contactIcons:hover {
  font-size: 55px;
  color:#f4f4f4;
  
}
.cContainer{
  width: 80%;
  max-width: 380px;
  
}
.navbar-dark .navbar-brand {
    color: #ef233c;
  font-family: Amatic SC;
  font-size: 50px;
  
}
.bottomAnchor {color:#f4f4f4;}      /* unvisited link */
.bottomAnchor:visited {color:#f4f4f4;}  /* visited link */
.bottomAnchor:active {color:#f4f4f4;}  /* selected link */

a:target ~ #main article.panel {
-webkit-transform: translateY( -500px );
transform: translateY( -500px )
}
body {
    opacity: 1;
    transition: 3s opacity;
}
body.fade-out {
    opacity: 0;
    transition: none;
}
              
            
!

JS

              
                    $(function() {
        $('body').removeClass('fade-out');
    });
              
            
!
999px

Console