Pen Settings

HTML

CSS

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

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

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.

HTML

              
                <div class="wrapper">
  <p class="box1">
    Donec consequat pellentesque odio, rhoncus auctor quam venenatis eu. Fusce varius ipsum id nibh aliquet, sed pellentesque risus consequat. Nam porta nibh nisl, at sagittis justo elementum id.
  </p>

  <p class="box2">
    Suspendisse et lorem vulputate, lacinia nisi eu, hendrerit tortor. Etiam tellus lectus, sollicitudin at neque eget, tristique fringilla augue.
  </p>

  <p class="box3">
    Nam sollicitudin ullamcorper pretium. In hac habitasse platea dictumst. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
  </p>

  <p class="box4">
    Quisque vestibulum neque nisl, vel tempus tortor tincidunt nec. Fusce nec egestas enim. Proin id nibh at purus luctus dictum vitae in mi. Nullam posuere ac elit et egestas.
  </p>
</div>
              
            
!

CSS

              
                .wrapper {
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
}
p {
  background: #efefef;
  border-radius: 240px 15px 100px 15px / 15px 200px 15px 185px;
  padding: 4%;
  width: 260px;
  margin: 10px;
}
.box1 {
  border: 2px solid #333;
}
.box2 {
  border: 6px solid #333;
}
.box3 {
  border: 2px dashed #333;
}
.box4 {
  border: 2px dotted #333;
}
              
            
!

JS

              
                
              
            
!
999px

Console