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="wrapper">
  <p>Nintendo sold their toilet paper division<sup>1</sup> to Bob Charmin<sup>2</sup> in 1847.<sup>3</sup> He immediately began localizing. Toilet paper rolls in North America<sup>4</sup> would retain the up and over rotation design. In Australia, the rolls were engineered to go down under.<sup>5</sup></p>
    <p><sup>1</sup> They never sold toilet paper, but they did sell playing cards.</p>
    <p><sup>2</sup> Made up name.</p>
    <p><sup>3</sup> Made up year. I mean, the year is real, but I just picked it at random.</p>
    <p><sup>4</sup> The continent north of South America.</p>
    <p><sup>5</sup> I'm so sorry.</p>


                *, *::before, *::after {
  box-sizing: border-box;

html, body {
  height: 100%;

body {
  display: grid;
  align-items: center;
  justify-items: center;
  margin: 0;
  color: #5e3254;
  background-color: #f5f4ef;
  font: 1.5rem/1.5 'Rubik', sans-serif;

.wrapper {
  max-width: 700px;
  margin: 20px;

p {
  margin: 0;

sup {
  -webkit-user-select: none;
  user-select: none;
  color: #31808c;

footer {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px dashed #c9baa7;
  font-size: 1rem;