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

Auto Save

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

              
                <article class="hero wow fadeIn">
  <h1>Reveal on Scroll</h1>
</article>
<article class="content">
  <div class="group">
    <section>
      <h1>Reveal on Scroll</h1>
      <p>The sky is the limit only for those who aren't afraid to fly!</p>

      <p>Never in all their history have men been able truly to conceive of the world as one: a single sphere, a globe, having the qualities of a globe, a round earth in which all the directions eventually meet, in which there is no center because every point, or none, is center — an equal earth which all men occupy as equals. The airman's earth, if free men make it, will be truly round: a globe in practice, not in theory.</p>

      <p>That's one small step for [a] man, one giant leap for mankind.</p>

      <p>Here men from the planet Earth first set foot upon the Moon. July 1969 AD. We came in peace for all mankind.</p>
    </section>
    <section class="image wow bounceInUp">
      <img src="http://placekitten.com/500/340">
    </section>
  </div>
  <div class="group">
    <section class="quote wow bounceInUp">
      <p>“The path of a cosmonaut is not an easy, triumphant march to glory. You have to get to know the meaning not just of joy but also of grief, before being allowed in the spacecraft cabin.”</p>
    </section>
    <section>
      <p>When I orbited the Earth in a spaceship, I saw for the first time how beautiful our planet is. Mankind, let us preserve and increase this beauty, and not destroy it!</p>

      <p>Dinosaurs are extinct today because they lacked opposable thumbs and the brainpower to build a space program.</p>

      <p>Spaceflights cannot be stopped. This is not the work of any one man or even a group of men. It is a historical process which mankind is carrying out in accordance with the natural laws of human development.</p>

      <p>Many say exploration is part of our destiny, but it’s actually our duty to future generations and their quest to ensure the survival of the human species.</p>

      <p>The sky is the limit only for those who aren't afraid to fly!</p>

      <p>What was most significant about the lunar voyage was not that man set foot on the Moon but that they set eye on the earth.</p>
    </section>
  </div>
  <div class="group">
    <section>
      <p>The sky is the limit only for those who aren't afraid to fly!</p>

      <p>Never in all their history have men been able truly to conceive of the world as one: a single sphere, a globe, having the qualities of a globe, a round earth in which all the directions eventually meet, in which there is no center because every point, or none, is center — an equal earth which all men occupy as equals. The airman's earth, if free men make it, will be truly round: a globe in practice, not in theory.</p>

      <p>That's one small step for [a] man, one giant leap for mankind.</p>

      <p>Here men from the planet Earth first set foot upon the Moon. July 1969 AD. We came in peace for all mankind.</p>
    </section>
    <section class="image wow bounceInUp">
      <img src="http://placekitten.com/500/340">
    </section>
  </div>
  <div class="group">
    <section class="quote wow bounceInUp">
      <p>“The path of a cosmonaut is not an easy, triumphant march to glory. You have to get to know the meaning not just of joy but also of grief, before being allowed in the spacecraft cabin.”</p>
    </section>
    <section>
      <p>When I orbited the Earth in a spaceship, I saw for the first time how beautiful our planet is. Mankind, let us preserve and increase this beauty, and not destroy it!</p>

      <p>Dinosaurs are extinct today because they lacked opposable thumbs and the brainpower to build a space program.</p>

      <p>Spaceflights cannot be stopped. This is not the work of any one man or even a group of men. It is a historical process which mankind is carrying out in accordance with the natural laws of human development.</p>

      <p>Many say exploration is part of our destiny, but it’s actually our duty to future generations and their quest to ensure the survival of the human species.</p>

      <p>The sky is the limit only for those who aren't afraid to fly!</p>

      <p>What was most significant about the lunar voyage was not that man set foot on the Moon but that they set eye on the earth.</p>
    </section>
  </div>
  <div class="group">
    <section>
      <p>The sky is the limit only for those who aren't afraid to fly!</p>

      <p>Never in all their history have men been able truly to conceive of the world as one: a single sphere, a globe, having the qualities of a globe, a round earth in which all the directions eventually meet, in which there is no center because every point, or none, is center — an equal earth which all men occupy as equals. The airman's earth, if free men make it, will be truly round: a globe in practice, not in theory.</p>

      <p>That's one small step for [a] man, one giant leap for mankind.</p>

      <p>Here men from the planet Earth first set foot upon the Moon. July 1969 AD. We came in peace for all mankind.</p>
    </section>
    <section class="image wow bounceInUp">
      <img src="http://placekitten.com/500/340">
    </section>
  </div>
  <div class="group">
    <section class="quote wow bounceInUp">
      <p>“The path of a cosmonaut is not an easy, triumphant march to glory. You have to get to know the meaning not just of joy but also of grief, before being allowed in the spacecraft cabin.”</p>
    </section>
    <section>
      <p>When I orbited the Earth in a spaceship, I saw for the first time how beautiful our planet is. Mankind, let us preserve and increase this beauty, and not destroy it!</p>

      <p>Dinosaurs are extinct today because they lacked opposable thumbs and the brainpower to build a space program.</p>

      <p>Spaceflights cannot be stopped. This is not the work of any one man or even a group of men. It is a historical process which mankind is carrying out in accordance with the natural laws of human development.</p>

      <p>Many say exploration is part of our destiny, but it’s actually our duty to future generations and their quest to ensure the survival of the human species.</p>

      <p>The sky is the limit only for those who aren't afraid to fly!</p>

      <p>What was most significant about the lunar voyage was not that man set foot on the Moon but that they set eye on the earth.</p>
    </section>
  </div>
  <div class="group">
    <section>
      <p>The sky is the limit only for those who aren't afraid to fly!</p>

      <p>Never in all their history have men been able truly to conceive of the world as one: a single sphere, a globe, having the qualities of a globe, a round earth in which all the directions eventually meet, in which there is no center because every point, or none, is center — an equal earth which all men occupy as equals. The airman's earth, if free men make it, will be truly round: a globe in practice, not in theory.</p>

      <p>That's one small step for [a] man, one giant leap for mankind.</p>

      <p>Here men from the planet Earth first set foot upon the Moon. July 1969 AD. We came in peace for all mankind.</p>
    </section>
    <section class="image wow bounceInUp">
      <img src="http://placekitten.com/500/340">
    </section>
  </div>
  <div class="group">
    <section class="quote wow bounceInUp">
      <p>“The path of a cosmonaut is not an easy, triumphant march to glory. You have to get to know the meaning not just of joy but also of grief, before being allowed in the spacecraft cabin.”</p>
    </section>
    <section>
      <p>When I orbited the Earth in a spaceship, I saw for the first time how beautiful our planet is. Mankind, let us preserve and increase this beauty, and not destroy it!</p>

      <p>Dinosaurs are extinct today because they lacked opposable thumbs and the brainpower to build a space program.</p>

      <p>Spaceflights cannot be stopped. This is not the work of any one man or even a group of men. It is a historical process which mankind is carrying out in accordance with the natural laws of human development.</p>

      <p>Many say exploration is part of our destiny, but it’s actually our duty to future generations and their quest to ensure the survival of the human species.</p>

      <p>The sky is the limit only for those who aren't afraid to fly!</p>

      <p>What was most significant about the lunar voyage was not that man set foot on the Moon but that they set eye on the earth.</p>
    </section>
  </div>
  <div class="group">
    <section>
      <p>The sky is the limit only for those who aren't afraid to fly!</p>

      <p>Never in all their history have men been able truly to conceive of the world as one: a single sphere, a globe, having the qualities of a globe, a round earth in which all the directions eventually meet, in which there is no center because every point, or none, is center — an equal earth which all men occupy as equals. The airman's earth, if free men make it, will be truly round: a globe in practice, not in theory.</p>

      <p>That's one small step for [a] man, one giant leap for mankind.</p>

      <p>Here men from the planet Earth first set foot upon the Moon. July 1969 AD. We came in peace for all mankind.</p>
    </section>
    <section class="image wow bounceInUp">
      <img src="http://placekitten.com/500/340">
    </section>
  </div>
  <div class="group">
    <section class="quote wow bounceInUp">
      <p>“The path of a cosmonaut is not an easy, triumphant march to glory. You have to get to know the meaning not just of joy but also of grief, before being allowed in the spacecraft cabin.”</p>
    </section>
    <section>
      <p>When I orbited the Earth in a spaceship, I saw for the first time how beautiful our planet is. Mankind, let us preserve and increase this beauty, and not destroy it!</p>

      <p>Dinosaurs are extinct today because they lacked opposable thumbs and the brainpower to build a space program.</p>

      <p>Spaceflights cannot be stopped. This is not the work of any one man or even a group of men. It is a historical process which mankind is carrying out in accordance with the natural laws of human development.</p>

      <p>Many say exploration is part of our destiny, but it’s actually our duty to future generations and their quest to ensure the survival of the human species.</p>

      <p>The sky is the limit only for those who aren't afraid to fly!</p>

      <p>What was most significant about the lunar voyage was not that man set foot on the Moon but that they set eye on the earth.</p>
    </section>
  </div>
  <div class="group">
    <section>
      <p>The sky is the limit only for those who aren't afraid to fly!</p>

      <p>Never in all their history have men been able truly to conceive of the world as one: a single sphere, a globe, having the qualities of a globe, a round earth in which all the directions eventually meet, in which there is no center because every point, or none, is center — an equal earth which all men occupy as equals. The airman's earth, if free men make it, will be truly round: a globe in practice, not in theory.</p>

      <p>That's one small step for [a] man, one giant leap for mankind.</p>

      <p>Here men from the planet Earth first set foot upon the Moon. July 1969 AD. We came in peace for all mankind.</p>
    </section>
    <section class="image wow bounceInUp">
      <img src="http://placekitten.com/500/340">
    </section>
  </div>
  <div class="group">
    <section class="quote wow bounceInUp">
      <p>“The path of a cosmonaut is not an easy, triumphant march to glory. You have to get to know the meaning not just of joy but also of grief, before being allowed in the spacecraft cabin.”</p>
    </section>
    <section>
      <p>When I orbited the Earth in a spaceship, I saw for the first time how beautiful our planet is. Mankind, let us preserve and increase this beauty, and not destroy it!</p>

      <p>Dinosaurs are extinct today because they lacked opposable thumbs and the brainpower to build a space program.</p>

      <p>Spaceflights cannot be stopped. This is not the work of any one man or even a group of men. It is a historical process which mankind is carrying out in accordance with the natural laws of human development.</p>

      <p>Many say exploration is part of our destiny, but it’s actually our duty to future generations and their quest to ensure the survival of the human species.</p>

      <p>The sky is the limit only for those who aren't afraid to fly!</p>

      <p>What was most significant about the lunar voyage was not that man set foot on the Moon but that they set eye on the earth.</p>
    </section>
  </div>
  <div class="group">
    <section>
      <p>The sky is the limit only for those who aren't afraid to fly!</p>

      <p>Never in all their history have men been able truly to conceive of the world as one: a single sphere, a globe, having the qualities of a globe, a round earth in which all the directions eventually meet, in which there is no center because every point, or none, is center — an equal earth which all men occupy as equals. The airman's earth, if free men make it, will be truly round: a globe in practice, not in theory.</p>

      <p>That's one small step for [a] man, one giant leap for mankind.</p>

      <p>Here men from the planet Earth first set foot upon the Moon. July 1969 AD. We came in peace for all mankind.</p>
    </section>
    <section class="image wow bounceInUp">
      <img src="http://placekitten.com/500/340">
    </section>
  </div>
  <div class="group">
    <section class="quote wow bounceInUp">
      <p>“The path of a cosmonaut is not an easy, triumphant march to glory. You have to get to know the meaning not just of joy but also of grief, before being allowed in the spacecraft cabin.”</p>
    </section>
    <section>
      <p>When I orbited the Earth in a spaceship, I saw for the first time how beautiful our planet is. Mankind, let us preserve and increase this beauty, and not destroy it!</p>

      <p>Dinosaurs are extinct today because they lacked opposable thumbs and the brainpower to build a space program.</p>

      <p>Spaceflights cannot be stopped. This is not the work of any one man or even a group of men. It is a historical process which mankind is carrying out in accordance with the natural laws of human development.</p>

      <p>Many say exploration is part of our destiny, but it’s actually our duty to future generations and their quest to ensure the survival of the human species.</p>

      <p>The sky is the limit only for those who aren't afraid to fly!</p>

      <p>What was most significant about the lunar voyage was not that man set foot on the Moon but that they set eye on the earth.</p>
    </section>
  </div>
  <div class="group">
    <section>
      <p>The sky is the limit only for those who aren't afraid to fly!</p>

      <p>Never in all their history have men been able truly to conceive of the world as one: a single sphere, a globe, having the qualities of a globe, a round earth in which all the directions eventually meet, in which there is no center because every point, or none, is center — an equal earth which all men occupy as equals. The airman's earth, if free men make it, will be truly round: a globe in practice, not in theory.</p>

      <p>That's one small step for [a] man, one giant leap for mankind.</p>

      <p>Here men from the planet Earth first set foot upon the Moon. July 1969 AD. We came in peace for all mankind.</p>
    </section>
    <section class="image wow bounceInUp">
      <img src="http://placekitten.com/500/340">
    </section>
  </div>
  <div class="group">
    <section class="quote wow bounceInUp">
      <p>“The path of a cosmonaut is not an easy, triumphant march to glory. You have to get to know the meaning not just of joy but also of grief, before being allowed in the spacecraft cabin.”</p>
    </section>
    <section>
      <p>When I orbited the Earth in a spaceship, I saw for the first time how beautiful our planet is. Mankind, let us preserve and increase this beauty, and not destroy it!</p>

      <p>Dinosaurs are extinct today because they lacked opposable thumbs and the brainpower to build a space program.</p>

      <p>Spaceflights cannot be stopped. This is not the work of any one man or even a group of men. It is a historical process which mankind is carrying out in accordance with the natural laws of human development.</p>

      <p>Many say exploration is part of our destiny, but it’s actually our duty to future generations and their quest to ensure the survival of the human species.</p>

      <p>The sky is the limit only for those who aren't afraid to fly!</p>

      <p>What was most significant about the lunar voyage was not that man set foot on the Moon but that they set eye on the earth.</p>
    </section>
  </div>
</article>
              
            
!

CSS

              
                /* CSS animations handled by Animate.css */
body {
  font-family: HelveticaNeue, Helvetica, Arial, sans-serif;
}
.hero {
  background: #1cb9e7;
  height: 100vh;
  position: relative;
}
.hero  h1 {
  margin: 0;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3em;
  text-align: center;
  color: #fff;
}
.group {
  display: flex;
}
section {
  min-width: 46%;
  margin: 1%;
  padding: 1%;
}
img {
  max-width: 80%;
  margin: 2em;
}
.quote p {
  font-size: 32px;
  color: #aaa;
  padding: 0.75em;
}
              
            
!

JS

              
                new WOW().init();
              
            
!
999px

Console