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.

            
              <!-- Quick demo for a Medium article -->
<!-- Link to article: -->
<!-- Fonts via Goole Fonts https://fonts.google.com -->
<article class="card">
<h2 class="card__category">Travel Guide</h2>
<h1 class="card__title">Ideal Summer Escape</h1>
<p class="card__description">Idyllic getaway just a short distance from Omaha</p>
</article>

<article class="card">
<h2 class="card__category">Glamping</h2>
<h1 class="card__title">Best Hikes in Maine</h1>
<p class="card__description">We explored Vacationland's happiest trails</p>
</article>

<article class="card">
<h2 class="card__category">Brazillian Typefaces</h2>
<h1 class="card__title">Rio’s Hottest Fonts</h1>
<p class="card__description">You won't believe these alphabets</p>
</article>
            
          
!
            
              $malibu: #5CA7E5;
$brisk: #B1C4D2;
$beige: #FCFCF7;
$sage: #ECF0EF;

body {
  background-color: $sage;
  color: $brisk;
  font-family: 'PT Sans Caption', sans-serif;
}

.card {
  border-bottom: 1px solid $sage;
  margin: 0 auto;
  width: 656px - 84;
  background-color: $beige;
  margin: 0 auto;
  padding: 40px 42px 46px 42px;
  text-align: center;
  
  &__category {
    margin: 0 0 4px 0;
    font-family: 'PT Serif', serif;
    font-size: 32px;
  }

  &__title {
    margin: 0 0 5px 0;
    color: $malibu;
    font-family: 'Fjalla One', sans-serif;
    font-size: 65px;
    text-transform: uppercase;
    font-weight: normal;
  }

  &__description {
    margin: 0;
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: .05em;
  }
}
            
          
!
999px
Loading ..................

Console