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 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.

Quick-add: + add another resource

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.

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.

            
              <header>
  <h1>R. S. Sailing Club</h1>
  
  <nav>
    <ul>
      <li><a href="">Home</a></li>
      <li><a href="">About</a></li>
      <li><a href="">Join</a></li>
      <li><a href="">Contact</a></li>
    </ul>
  </nav>
</header>

<article>
  <section class="feature">
    <h1>The Men's Escape to the Crack of Doom</h1>

    <p>The Man women and children hurried to The Crack of Doom for shelter. In the meantime, Aragorn insisted on attacking The mines of Moria, but the Orcs were waiting. Morgoth felt he did not have the strength to attack. The Hobbits were ravaging the countryside, leaving destruction in their wake. </p>
  </section>

  <p>Gandalf led the Ents to attack Weathertop, but the attack failed. Farmer Maggot felt he did not have the strength to build. 6 axe were smashed. Faramir insisted on attacking Hobbiton, but the Elves were waiting. "Quick!", cried Grima Wormtongue, "Dwarves!" </p>

  <p>The Men were ravaging the countryside, leaving destruction in their wake. Eowyn attacked Weathertop, and slaughtered the Orcs in a surprise attack. Sam attacked The mines of Moria, and slaughtered the Hobbits in a surprise attack. The Elves ambushed Boromir at Bree. Meanwhile, The attack failed, forcing the Dwarves to retreat to Bree. </p>
</article>
            
          
!
            
              $light: #ffffff;
$light-secondary: #eeeeec;
$dark: #204a87;
$dark-secondary: #3465a4;

$font-header: 'Montserrat', sans-serif;
$font-copy: 'Alegreya', serif;


html, body {
  width: 100%;
  height: 100%;
}

body * {
  box-sizing: border-box;
}

body {
  font-family: $font-copy;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: $font-header;
}

h1, h2 {
  font-variant: small-caps;
  font-weight: normal;
}

header {
  background-color: $dark;
  color: $light;
  overflow: hidden;
  padding: 0 .5em;
  
  h1 {
    font-weight: normal;
    font-variant: small-caps;
    float: left;
  }
  
  nav ul {
    float: right;
    line-height: 80px;
    list-style: none;
    margin: 0;
    padding: 0;
    
    li {
      display: inline-block;
      margin-left: 1em;
    }
  }
  
  a {
    color: $light;
    font-family: $font-header;
    text-decoration: none;
    text-transform: uppercase;
  }
}

article {
  padding: 1em;
  
  .feature {
    font-size: 1.2em;
    margin-bottom: 2em;
    padding-left: 20%;
    padding-right: 20%;
    text-align: center;
  }
}
            
          
!
999px
Loading ..................

Console