cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-personicon-teamoctocatpop-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.

            
              <main>
  <h1>A Very Hipster Kitchen Sink</h1>

  <p>Lyft everyday carry celiac bicycle rights. Typewriter chia copper mug echo park, waistcoat leggings heirloom man braid neutra. Godard selvage pop-up church-key. Selvage echo park authentic, vice twee lo-fi aesthetic 8-bit sartorial disrupt edison bulb squid hoodie.</p>

  <h2>Succulents trust fund</h2>

  <p>Tbh waistcoat keytar echo park, literally celiac everyday carry normcore edison bulb cardigan sustainable intelligentsia artisan subway tile. Thundercats fingerstache locavore intelligentsia.</p>

  <blockquote>
    Kombucha tacos shabby chic, schlitz fingerstache gluten-free marfa. Tbh pok pok viral, waistcoat paleo iPhone you probably haven't heard of them neutra lyft coloring book chicharrones seitan man braid whatever kinfolk.
    <cite>Random Hipster</cite>
  </blockquote>

  <p>nausgaard literally church-key, butcher flexitarian iceland lo-fi shabby chic heirloom pop-up tousled bicycle rights. VHS offal kombucha ugh la croix cornhole truffaut, hashtag drinking vinegar green juice salvia. Humblebrag celiac taxidermy, banjo cray quinoa health goth aesthetic flexitarian heirloom you probably haven't heard of them offal.</p>

  <h3>Knausgaard skateboard austin locavore</h3>

  <p>Tbh four loko vice asymmetrical, pabst leggings dreamcatcher man bun chambray venmo irony lumbersexual whatever. Vaporware pickled 90's, butcher blog bespoke typewriter literally copper mug mumblecore authentic quinoa vinyl gluten-free. Farm-to-table lo-fi unicorn everyday carry, glossier four dollar toast austin tattooed art party bicycle rights sustainable.</p>

  <p>My tomorrow todo list:</p>

  <ul>
    <li>Disrupt tumblr,</li>
    <li>Tacos roof party,</li>
    <li>Hashtag tofu,</li>
    <li>Vice hot chicken.</li>
  </ul>

  <p>Mlkshk pok pok four loko, aesthetic next level lumbersexual kickstarter fanny pack chicharrones keytar cardigan raw denim tumblr small batch. Viral sustainable typewriter, waistcoat tilde kale chips sartorial vegan literally taxidermy cred.</p>

  <h4>Jianbing kitsch salvia, cronut art party williamsburg</h4>

  <p>Williamsburg live-edge freegan mustache brooklyn. Kale chips neutra tumblr, yr tilde la croix mumblecore kombucha vaporware trust fund fixie snackwave. Man braid flexitarian crucifix, dreamcatcher try-hard PBR&B food truck authentic lo-fi meh cray gentrify. Vinyl blog aesthetic kogi godard.</p>
</main>
            
          
!
            
              @import url(https://fonts.googleapis.com/css?family=Lato);

html {
  font-size: 10px;
}

@media screen and (min-width: 48em) {
  html {
    font-size: 12px;
  }
}

@media screen and (min-width: 62em) {
  html {
    font-size: 14px;
  }
}

@media screen and (min-width: 75em) {
  html {
    font-size: 16px;
  }
}

body {
  font: normal 1.4rem/1.45 'Lato', Arial, sans-serif;
}

main {
  max-width: 75ch;
  margin: 0 auto;
}

p {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  margin: 1.5rem 0;
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.8rem;
}

h4 {
  font-size: 1.6rem;
}
            
          
!
999px
Close

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.

Go PRO

Loading ..................

Console