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

              
                <nav class="navbar-fixed-top navbar-default">
<div class="container-fluid">
  <div class="navbar-header">
    <a class="navbar-brand" href="#">Website Name</a>
  </div>
  <div>
    <ul class="nav navbar-nav navbar-right">
      <li class="active"><a href="#intro">Home</a></li>
      <li><a href="#about">About</a></li>
      <li><a href="#contact">Contact</a></li>
    </ul>
  </div>
</div>
</nav><!-- /.navbar -->

<!-- Section 1 -->
<section>
  <div class="container-fluid">
    <div class="row">
      <div class="col-md-12">
      <h1 class="first-h1">Main Headline</h1>
      <hr>
        <p>Instantly break out into full speed gallop across the house for no reason have secret plans brown cats with pink ears wake up human for food at 4am so use lap as chair. Attack the dog then pretend like nothing happened scream at teh bath and claws in your leg meowing non stop for food plan steps for world domination yet kick up litter. Meow ignore the squirrels, you'll never catch them anyway, lounge in doorway wake up human for food at 4am so hide at bottom of staircase to trip human. Run in circles curl into a furry donut. Then cats take over the world sleep nap but caticus cuteicus for purr while eating or human give me attention meow.</p>
        <p>Instantly break out into full speed gallop across the house for no reason have secret plans brown cats with pink ears wake up human for food at 4am so use lap as chair. Attack the dog then pretend like nothing happened scream at teh bath and claws in your leg meowing non stop for food plan steps for world domination yet kick up litter. Meow ignore the squirrels, you'll never catch them anyway, lounge in doorway wake up human for food at 4am so hide at bottom of staircase to trip human. Run in circles curl into a furry donut. Then cats take over the world sleep nap but caticus cuteicus for purr while eating or human give me attention meow.</p>
        <p>Instantly break out into full speed gallop across the house for no reason have secret plans brown cats with pink ears wake up human for food at 4am so use lap as chair. Attack the dog then pretend like nothing happened scream at teh bath and claws in your leg meowing non stop for food plan steps for world domination yet kick up litter. Meow ignore the squirrels, you'll never catch them anyway, lounge in doorway wake up human for food at 4am so hide at bottom of staircase to trip human. Run in circles curl into a furry donut. Then cats take over the world sleep nap but caticus cuteicus for purr while eating or human give me attention meow.</p>
        <p>Instantly break out into full speed gallop across the house for no reason have secret plans brown cats with pink ears wake up human for food at 4am so use lap as chair. Attack the dog then pretend like nothing happened scream at teh bath and claws in your leg meowing non stop for food plan steps for world domination yet kick up litter. Meow ignore the squirrels, you'll never catch them anyway, lounge in doorway wake up human for food at 4am so hide at bottom of staircase to trip human. Run in circles curl into a furry donut. Then cats take over the world sleep nap but caticus cuteicus for purr while eating or human give me attention meow.</p>
        <p>Instantly break out into full speed gallop across the house for no reason have secret plans brown cats with pink ears wake up human for food at 4am so use lap as chair. Attack the dog then pretend like nothing happened scream at teh bath and claws in your leg meowing non stop for food plan steps for world domination yet kick up litter. Meow ignore the squirrels, you'll never catch them anyway, lounge in doorway wake up human for food at 4am so hide at bottom of staircase to trip human. Run in circles curl into a furry donut. Then cats take over the world sleep nap but caticus cuteicus for purr while eating or human give me attention meow.</p>
        <p>Instantly break out into full speed gallop across the house for no reason have secret plans brown cats with pink ears wake up human for food at 4am so use lap as chair. Attack the dog then pretend like nothing happened scream at teh bath and claws in your leg meowing non stop for food plan steps for world domination yet kick up litter. Meow ignore the squirrels, you'll never catch them anyway, lounge in doorway wake up human for food at 4am so hide at bottom of staircase to trip human. Run in circles curl into a furry donut. Then cats take over the world sleep nap but caticus cuteicus for purr while eating or human give me attention meow.</p>
        <p>Instantly break out into full speed gallop across the house for no reason have secret plans brown cats with pink ears wake up human for food at 4am so use lap as chair. Attack the dog then pretend like nothing happened scream at teh bath and claws in your leg meowing non stop for food plan steps for world domination yet kick up litter. Meow ignore the squirrels, you'll never catch them anyway, lounge in doorway wake up human for food at 4am so hide at bottom of staircase to trip human. Run in circles curl into a furry donut. Then cats take over the world sleep nap but caticus cuteicus for purr while eating or human give me attention meow.</p>
      </div>
    </div>
  </div>
</section>

<!-- Section 2 -->
<section>
  <div class="container-fluid">
    <div class="row">
      <div class="col-md-12">
      <h1>Second Headline</h1>
      <hr>
        <p>Instantly break out into full speed gallop across the house for no reason have secret plans brown cats with pink ears wake up human for food at 4am so use lap as chair. Attack the dog then pretend like nothing happened scream at teh bath and claws in your leg meowing non stop for food plan steps for world domination yet kick up litter. Meow ignore the squirrels, you'll never catch them anyway, lounge in doorway wake up human for food at 4am so hide at bottom of staircase to trip human. Run in circles curl into a furry donut. Then cats take over the world sleep nap but caticus cuteicus for purr while eating or human give me attention meow.</p>
        <p>Instantly break out into full speed gallop across the house for no reason have secret plans brown cats with pink ears wake up human for food at 4am so use lap as chair. Attack the dog then pretend like nothing happened scream at teh bath and claws in your leg meowing non stop for food plan steps for world domination yet kick up litter. Meow ignore the squirrels, you'll never catch them anyway, lounge in doorway wake up human for food at 4am so hide at bottom of staircase to trip human. Run in circles curl into a furry donut. Then cats take over the world sleep nap but caticus cuteicus for purr while eating or human give me attention meow.</p>
        <p>Instantly break out into full speed gallop across the house for no reason have secret plans brown cats with pink ears wake up human for food at 4am so use lap as chair. Attack the dog then pretend like nothing happened scream at teh bath and claws in your leg meowing non stop for food plan steps for world domination yet kick up litter. Meow ignore the squirrels, you'll never catch them anyway, lounge in doorway wake up human for food at 4am so hide at bottom of staircase to trip human. Run in circles curl into a furry donut. Then cats take over the world sleep nap but caticus cuteicus for purr while eating or human give me attention meow.</p>
        <p>Instantly break out into full speed gallop across the house for no reason have secret plans brown cats with pink ears wake up human for food at 4am so use lap as chair. Attack the dog then pretend like nothing happened scream at teh bath and claws in your leg meowing non stop for food plan steps for world domination yet kick up litter. Meow ignore the squirrels, you'll never catch them anyway, lounge in doorway wake up human for food at 4am so hide at bottom of staircase to trip human. Run in circles curl into a furry donut. Then cats take over the world sleep nap but caticus cuteicus for purr while eating or human give me attention meow.</p>
        <p>Instantly break out into full speed gallop across the house for no reason have secret plans brown cats with pink ears wake up human for food at 4am so use lap as chair. Attack the dog then pretend like nothing happened scream at teh bath and claws in your leg meowing non stop for food plan steps for world domination yet kick up litter. Meow ignore the squirrels, you'll never catch them anyway, lounge in doorway wake up human for food at 4am so hide at bottom of staircase to trip human. Run in circles curl into a furry donut. Then cats take over the world sleep nap but caticus cuteicus for purr while eating or human give me attention meow.</p>
        <p>Instantly break out into full speed gallop across the house for no reason have secret plans brown cats with pink ears wake up human for food at 4am so use lap as chair. Attack the dog then pretend like nothing happened scream at teh bath and claws in your leg meowing non stop for food plan steps for world domination yet kick up litter. Meow ignore the squirrels, you'll never catch them anyway, lounge in doorway wake up human for food at 4am so hide at bottom of staircase to trip human. Run in circles curl into a furry donut. Then cats take over the world sleep nap but caticus cuteicus for purr while eating or human give me attention meow.</p>
        <p>Instantly break out into full speed gallop across the house for no reason have secret plans brown cats with pink ears wake up human for food at 4am so use lap as chair. Attack the dog then pretend like nothing happened scream at teh bath and claws in your leg meowing non stop for food plan steps for world domination yet kick up litter. Meow ignore the squirrels, you'll never catch them anyway, lounge in doorway wake up human for food at 4am so hide at bottom of staircase to trip human. Run in circles curl into a furry donut. Then cats take over the world sleep nap but caticus cuteicus for purr while eating or human give me attention meow.</p>
      </div>
    </div>
  </div>
</section>

<!-- Section 3 -->
<section>
  <div class="container-fluid">
    <div class="row">
      <div class="col-md-12">
      <h1>Third Headline</h1>
      <hr>
        <p>Instantly break out into full speed gallop across the house for no reason have secret plans brown cats with pink ears wake up human for food at 4am so use lap as chair. Attack the dog then pretend like nothing happened scream at teh bath and claws in your leg meowing non stop for food plan steps for world domination yet kick up litter. Meow ignore the squirrels, you'll never catch them anyway, lounge in doorway wake up human for food at 4am so hide at bottom of staircase to trip human. Run in circles curl into a furry donut. Then cats take over the world sleep nap but caticus cuteicus for purr while eating or human give me attention meow.</p>
        <p>Instantly break out into full speed gallop across the house for no reason have secret plans brown cats with pink ears wake up human for food at 4am so use lap as chair. Attack the dog then pretend like nothing happened scream at teh bath and claws in your leg meowing non stop for food plan steps for world domination yet kick up litter. Meow ignore the squirrels, you'll never catch them anyway, lounge in doorway wake up human for food at 4am so hide at bottom of staircase to trip human. Run in circles curl into a furry donut. Then cats take over the world sleep nap but caticus cuteicus for purr while eating or human give me attention meow.</p>
        <p>Instantly break out into full speed gallop across the house for no reason have secret plans brown cats with pink ears wake up human for food at 4am so use lap as chair. Attack the dog then pretend like nothing happened scream at teh bath and claws in your leg meowing non stop for food plan steps for world domination yet kick up litter. Meow ignore the squirrels, you'll never catch them anyway, lounge in doorway wake up human for food at 4am so hide at bottom of staircase to trip human. Run in circles curl into a furry donut. Then cats take over the world sleep nap but caticus cuteicus for purr while eating or human give me attention meow.</p>
        <p>Instantly break out into full speed gallop across the house for no reason have secret plans brown cats with pink ears wake up human for food at 4am so use lap as chair. Attack the dog then pretend like nothing happened scream at teh bath and claws in your leg meowing non stop for food plan steps for world domination yet kick up litter. Meow ignore the squirrels, you'll never catch them anyway, lounge in doorway wake up human for food at 4am so hide at bottom of staircase to trip human. Run in circles curl into a furry donut. Then cats take over the world sleep nap but caticus cuteicus for purr while eating or human give me attention meow.</p>
        <p>Instantly break out into full speed gallop across the house for no reason have secret plans brown cats with pink ears wake up human for food at 4am so use lap as chair. Attack the dog then pretend like nothing happened scream at teh bath and claws in your leg meowing non stop for food plan steps for world domination yet kick up litter. Meow ignore the squirrels, you'll never catch them anyway, lounge in doorway wake up human for food at 4am so hide at bottom of staircase to trip human. Run in circles curl into a furry donut. Then cats take over the world sleep nap but caticus cuteicus for purr while eating or human give me attention meow.</p>
        <p>Instantly break out into full speed gallop across the house for no reason have secret plans brown cats with pink ears wake up human for food at 4am so use lap as chair. Attack the dog then pretend like nothing happened scream at teh bath and claws in your leg meowing non stop for food plan steps for world domination yet kick up litter. Meow ignore the squirrels, you'll never catch them anyway, lounge in doorway wake up human for food at 4am so hide at bottom of staircase to trip human. Run in circles curl into a furry donut. Then cats take over the world sleep nap but caticus cuteicus for purr while eating or human give me attention meow.</p>
        <p>Instantly break out into full speed gallop across the house for no reason have secret plans brown cats with pink ears wake up human for food at 4am so use lap as chair. Attack the dog then pretend like nothing happened scream at teh bath and claws in your leg meowing non stop for food plan steps for world domination yet kick up litter. Meow ignore the squirrels, you'll never catch them anyway, lounge in doorway wake up human for food at 4am so hide at bottom of staircase to trip human. Run in circles curl into a furry donut. Then cats take over the world sleep nap but caticus cuteicus for purr while eating or human give me attention meow.</p>
      </div>
    </div>
  </div>
</section>
              
            
!

CSS

              
                /***************************
HEADLINES
***************************/

h1 {
  margin-top: 50px;
}

.first-h1 {
  margin-top: 100px;
}
              
            
!

JS

              
                
              
            
!
999px

Console