Pen Settings

HTML

CSS

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.

+ 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

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.

HTML

              
                <div class="container">
  <h1>Best Coffee Shop in Town</h1>
  <p>Aromatic spoon saucer, half and half, body foam affogato americano cup carajillo strong. Aftertaste robust cup, aroma organic medium half and half macchiato. Seasonal body, a lungo carajillo french press aromatic robusta. Shop roast lungo wings, ristretto, bar grounds a rich brewed.</p>
  <p>Black barista breve, et variety aged latte redeye ut cream bar robust. Redeye blue mountain strong wings cup medium sugar coffee. Percolator espresso, robust foam viennese breve rich. French press spoon aromatic breve strong café au lait extra rich extra.</p>
  <p>Whipped, variety steamed cappuccino java chicory pumpkin spice crema saucer. Est half and half skinny percolator crema single origin mazagran. Barista filter, dark, organic robusta, filter, caffeine crema so breve body. Carajillo, blue mountain, breve ut robust a at aroma coffee cappuccino rich sweet. Carajillo, in grounds kopi-luwak half and half whipped chicory carajillo.</p>
  <img class="full-bleed" src="https://source.unsplash.com/NT3qP7WbmzE" alt="Best coffee shop">
  <p>Half and half kopi-luwak, in viennese wings aftertaste chicory irish milk cream saucer. Aromatic coffee, roast crema cortado robust crema filter cultivar mug robust instant. Plunger pot, robusta, coffee roast iced caramelization ut dripper. Roast black eu java body filter steamed aftertaste. Cultivar robust instant, that, redeye cinnamon dark filter mazagran latte organic.</p>
  <p>Flavour robusta mug est that brewed spoon siphon so variety galão. Espresso viennese aged java saucer, roast, wings whipped frappuccino mug extra. Aged, that at a, pumpkin spice latte cup espresso ut variety caramelization. Single origin cream spoon french press kopi-luwak ut aged cappuccino to go. Et to go robusta, blue mountain ristretto crema breve robusta.</p>
  <p>Mug latte acerbic roast americano spoon con panna ristretto. Grounds milk and, galão extra breve crema cup cortado and sit bar. Kopi-luwak, beans, chicory, a spoon beans roast breve medium cinnamon. Froth cinnamon con panna, cinnamon extraction, pumpkin spice, eu, shop fair trade cream caramelization single origin. Shop beans, americano at, extra mocha, filter, trifecta kopi-luwak saucer coffee redeye.</p>
  <div class="full-bleed quote-wrapper">
    <blockquote>
      &quot;It is the folly of too many to mistake the echo of a London coffee-house for the voice of the kingdom.&quot;
      <cite>&ndash; Jonathan Swift</cite>
    </blockquote>
  </div>
  <p>Seasonal cup blue mountain as percolator foam turkish coffee fair trade. Plunger pot, bar carajillo dark black flavour latte. That, wings, skinny galão whipped mocha aroma. Americano, mug extraction café au lait, decaffeinated eu froth fair trade aromatic. Frappuccino aftertaste cup eu rich brewed cinnamon aroma.</p>
  <p>Medium, variety, java at trifecta cultivar plunger pot. Sit that coffee cinnamon macchiato eu grounds sweet. Doppio turkish acerbic, viennese redeye to go ut dark wings espresso siphon. Galão, froth fair trade, frappuccino, aroma doppio french press id siphon. Caffeine, french press, affogato aromatic dark frappuccino et cream irish kopi-luwak.</p>
  <p>And, shop affogato brewed seasonal shop mug siphon brewed latte doppio barista. Spoon decaffeinated crema extra shop grounds, breve crema lungo roast single origin iced. Saucer turkish, grinder skinny grounds roast cream. To go lungo seasonal cortado, pumpkin spice, arabica roast kopi-luwak sweet arabica galão. Carajillo seasonal, and foam cultivar flavour a flavour.</p>
</div>
              
            
!

CSS

              
                :root { 
   font-size: 16px;
}
body {
  font-family: sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.container {
  display: grid;
  grid-template-columns: 1fr min(80%, 43.75rem) 1fr;
}
.container > :not(.full-bleed) {
  grid-column: 2;
}

.full-bleed {
  width: 100%;
  grid-column: 1 / 4;
}
.quote-wrapper {
  background: #111;
}
blockquote {
  line-height: 1.6;
  color: #fff;
  font-size: 1.8rem;
  margin: 0 auto;
  width: min(80%, 43.75rem);
  text-align: center;
  padding: 3rem 1.5rem;
}
cite {
  white-space: nowrap;
}
              
            
!

JS

              
                
              
            
!
999px

Console