cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

Code Indentation

     

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.

            
              <!-- Please look out the javascript code it is well documented Share if you like  -->

<!-- First Section -->
<section class="item item-1">
  <i class="fa fa-simplybuilt" aria-hidden="true">
  </i>
  <div class="col-5">
    <a target="_blank" href="https://medium.com/@sanjeevy133/card-stack-scroll-effect-486cc3b55312"><h1>Card Stack :  Scroll Effect</h1></a>
    <p>Simple card stacking like scroll effect with the help of vanilla.js . Easy to implement and can be extended to any number of component. <strong>Read the complete tutorial on medium hover over the heading.</strong></p>
  </div>
</section>


<!-- Second Section -->
<section class="item item-2">
  <div class="col-5">
    <a target="_blank" href="https://codepen.io/alexakasanjeev/pen/wMYBgE"><h1>Circular Navbar</h1></a>
    <p>
      Circular navbar, quite intersting inspired from material design is a perfect twist to incoprate inour website. </p>
  </div>
  <i class="fa fa-gg-circle" aria-hidden="true"></i>
</section>


<!-- Third Section -->
<section class="item item-3">
  <i class="fa fa-css3" aria-hidden="true"></i>
  <div class="col-5">
    <a target="_blank" href="https://codepen.io/alexakasanjeev/pen/RPxGXY">
      <h1>Line Break</h1></a>
    <p>
      There is nothing special about a line break, checkout my version, which will add perfect touch of suprizing moment when user accidently scroll down through it. </p>
  </div>
</section>


<!-- Forth Section -->
<section class="item item-4">
  <div class="col-5">
    <a target="_blank" href="https://codepen.io/alexakasanjeev/pen/apmpEV">
      <h1>Login Form</h1></a>
    <p>
      A 3D login form design inspired from Glass material and Google material design. </p>
  </div>
  <i class="fa fa-user-circle-o" aria-hidden="true"></i>
</section>


<!-- Fivth Section -->
<section class="item item-5">

  <i class="fa fa-bug" aria-hidden="true"></i>
  <div class="col-5">
    <h1>Section Footer</h1>
    <p>
      Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed sed consequat ipsum. Phasellus blandit, odio at placerat posuere, felis lectus posuere risus, nec congue nisl erat at turpis. </p>
  </div>
</section>
            
          
!
            
              .item {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  position: sticky; /* imp stuff */
  top: 0px;         /* imp stuff */
}

/* These all are just meant for styling the page */

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Lobster', cursive;
}

h1 {
  font-size: 50px;
  border-bottom: 4px solid rgba(0, 0, 0, .8);
  padding-bottom: 10px;
}

a {
  text-decoration: none;
}

.fa {
  font-size: 15em !important;
}

* {
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
  color: rgba(0, 0, 0, .8);
}

body {
  margin: 0;
  padding: 0;
}



.item-1 {
  background-color: #00abc7;
}

.item-2 {
  background-color: #63aa73;
}

.item-3 {
  background-color: #fea521;
}

.item-4 {
  background-color: #f96c66;
}

.item-5 {
  background-color: #444;
}

.col-5 {
  max-width: 500px;
}

@media (max-width: 700px) {
  h1 {
    font-size: 18px;
  }
  .fa {
    font-size: 2em !important;
  }
}
            
          
!
999px
Loading ..................

Console