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.

            
              <div class="bleed top">
  <div class="container">
    <h1>This is a <strong>headline</strong>. I'm making a <strong>statement</strong>.</h1>  
  </div>
</div>
<div class="bleed mid">
  <div class="container">
    <h1>Here is <strong>another</strong>. I've got something to <strong>prove</strong>.</h1>  
  </div>
</div>
<div class="bleed bottom">
  <div class="container">
    <h1>This is <strong>important</strong>. So lets make a <strong>change</strong>.</h1>  
  </div>
</div>
            
          
!
            
              @import "compass/css3";

/* Base Colors */

$primary: rgba(137, 253, 194, 1.0);
$secondary: rgba(250, 41, 0, 1.0);
$mid-black: rgba(68, 68, 68, 1.0);
$white: rgba(253, 253, 253, 1.0);

/* Headlines */

.bleed {
  width: 100%;
  padding: 5em 0;
  opacity: 0.5;
  @include transition-duration(0.75s);
  strong {
    @include transition-duration(0.75s);
  }
  &:hover {
    opacity: 1;
    strong {
      color: $white;
    }
  }
  h1 {
    text-align: center;
    text-transform: uppercase;
    font-size: 75px;
  }
  &.top {
    background: $secondary;
    color: darken($secondary, 15%);
  }
  &.mid {
    background: $primary;
    color: darken($primary, 30%);
  }
  &.bottom {
    background: $mid-black;
    color: darken($mid-black, 15%);
  }
}

/* Base Styling */
/* Font */
.container {
  font-family: "HelveticaNeue-Bold", "Helvetica Neue Bold", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}

/* Container */
.container {
  width: 65%;
  margin: auto;
}
            
          
!
999px
Loading ..................

Console