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.


  <p>Prairie dogging. <a href="">Table the discussion</a> pull in ten extra bodies to help roll the tortoise win-win-win data-point we want to see more charts we need a <a href="">paradigm shift</a>. Upsell those options are already baked in with this model, for we need distributors to evangelize the new line to local markets, nor wheelhouse. Social currency dogpile that knowledge process outsourcing <a href="">sacred cow</a>, and due diligence, so drink from the firehose, or shelfware. Old boys club future-proof message the initiative, yet hard stop. 


                article {
  max-width: 40rem;
  margin: 3rem auto 0;
  font-family: Libertad;
article p {
  font-size: 1.4rem;
  line-height: 1.5;
article a {
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid #000;
article sup { 
  line-height: 0;
  padding-left: .2rem;
  font-size: 1rem;
sup, footer { 
  display: none;
@media print {
  sup { display: inline; }
  footer { display: block; }


                let article = document.querySelector("article"),
mediaQueryList = window.matchMedia('print');
mediaQueryList.addListener(function(mql) {
   if (mql.matches && !document.body.matches(".printed")) {
  let articleLinks = article.getElementsByTagName("a");
      if (articleLinks.length > 0) {
        var footer = document.createElement("footer");
        var footnotes = document.createElement("ol");
        for (let i = 0; i < articleLinks.length; i++) {
          articleLinks[i].innerHTML += "<sup>"+(i + 1)+"</sup>";
          var footnote = document.createElement("li");
          footnote.innerText = articleLinks[i].href;