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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource


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


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.


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.

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.


                <!-- Quick demo for a Medium article -->
<!-- Link to article: -->
<!-- Fonts via Goole Fonts -->
<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 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 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>


                $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;