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.


  Dolor lorem ipsum sit amet, consectetur adipiscing elit. Vestibulum gravida ac ex vel tincidunt. Cras posuere, velit placerat egestas efficitur, mauris nisi tempor neque, vitae semper erat ligula eu augue. Ut ultricies dictum purus, nec condimentum sapien elementum sit amet. Aenean mattis at ante non iaculis. Duis ultrices dignissim urna, quis pulvinar ex congue ut. Aliquam fringilla mi a lectus dapibus tempor quis sit amet nisi. Nulla auctor dapibus nibh nec ullamcorper. Nam vehicula molestie dui eget volutpat. Ut molestie, libero at viverra sodales, purus eros feugiat massa, at condimentum magna purus ac augue. Donec quis dolor imperdiet orci ultrices malesuada. Donec tempor vestibulum ex, et ullamcorper lectus ultricies at. Integer a accumsan massa, sed ultrices arcu. Maecenas at odio vitae leo egestas pharetra sit amet ut nulla.
  Aliquam quis leo imperdiet, posuere turpis quis, pulvinar ante. Sed nisl urna, fringilla vitae aliquam ut, porta egestas mauris. Quisque lacus turpis, lobortis at pulvinar et, efficitur vel erat. Ut pretium dignissim nibh, porttitor lobortis dui gravida eget. Nunc euismod dui enim, ac dignissim nisl iaculis vitae. Quisque sit amet velit sed nisi faucibus bibendum. Nullam nisi arcu, sollicitudin vitae porta a, egestas quis nulla. Nunc nec nulla dolor. Proin mauris justo, lobortis eu leo vel, volutpat lacinia mi. Mauris in eros elit. Pellentesque sed libero non enim blandit condimentum sit amet vel quam. Sed ac nulla sed ipsum tristique ullamcorper ac quis nunc.


                body {
  padding: 20px;

p {
  font-family: sans-serif;

p:first-child:first-letter {
  float: left;
  margin: 0.13em 0.20em 0.06em -0.01em;
  font-size: 3.333em;
  line-height: 0.65em;
  font-family: serif;
  font-weight: bold;
  box-shadow: 5px 5px 0 #ff7cb1;
  padding: 8px 7px;
  background: #d4bcff;