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>Welcome to My Awesome Website!</h1>
  <p>Kinfolk pinterest fanny pack kogi yuccie. Vinyl normcore lo-fi, gluten-free knausgaard post-ironic disrupt echo park irony austin neutra sartorial chillwave paleo narwhal. Pop-up knausgaard thundercats hammock master cleanse. Venmo etsy hoodie, tattooed mumblecore williamsburg forage crucifix cray. Helvetica freegan farm-to-table williamsburg tofu PBR&B. Dreamcatcher trust fund DIY, viral freegan PBR&B venmo. Gastropub polaroid drinking vinegar, next level man bun lo-fi gluten-free offal iPhone.</p>

<p>Banh mi tumblr hoodie vinyl. Brooklyn tote bag semiotics, tattooed retro health goth craft beer chicharrones microdosing tofu meh quinoa lomo taxidermy.</p> <p>Fingerstache lo-fi swag cray, pop-up biodiesel ennui aesthetic distillery tacos 8-bit. Street art brooklyn keytar actually. Cornhole synth shoreditch fashion axe etsy, viral bicycle rights hammock affogato heirloom mumblecore waistcoat before they sold out brooklyn. Blue bottle flannel skateboard, synth godard man braid chillwave art party YOLO. Lo-fi slow-carb skateboard salvia, next level sustainable letterpress banjo whatever intelligentsia knausgaard.</p>
  <p><b>Hit Counter:</b> 533</p>
</div>
              
            
!

CSS

              
                body {
  background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/9632/sparkle-unicorn.gif);
  background-attachment: fixed;
  padding: 50px;
}

.container {
  background: #fff;
  width: 100%;
  text-align: center;
  color: red;
  border: 10px solid purple;
}
              
            
!

JS

              
                // Background courtesy of http://www.playbuzz.com/carolineandgeorgia10/what-type-of-unicorn-are-you

// Placeholder text compiled by http://hipsum.co/
              
            
!
999px

Console