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.


                <div class="container">
 <div class="banner">
  <svg xmlns="" xmlns:xlink="" width="900" height="300" viewBox="0 0 900 300">
    <clipPath id="clipPolygon">
     <polygon points="900,0 0,0 0,294 186,254 381,278 438,265 582,298 752,258 900,300"/>
   <image clip-path="url(#clipPolygon)" width="900" height="300" xlink:href="//" />
 <article class="content">
  <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Officia veniam, eveniet quos, explicabo ab iste quibusdam aliquid molestias deserunt. Assumenda cum consectetur, dolorum dolore facere natus, nulla officiis rem deserunt!</p>



body {
 background-color: #000;

.container {
  max-width: 900px;
  padding: 0;
  background-color: #1c1c1c;

.banner {
 height: 300px;

.content {
 max-width: 45em;
 color: #fff;
 // background-color: #666;

.content p {
 font-size: 1.125em;