Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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.


Auto Save

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.


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

    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>

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

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

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


                @import url(;

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;