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="field-items">
   <div class="field-item even">
      <div id="playground-result" style="font-style: oblique;">Lorem, ipsum dolor sit amet consectetur adipisicing elit. Repellat iusto ducimus aliquid, soluta quod nihil dicta libero inventore fuga dignissimos, placeat commodi repudiandae animi maxime quaerat amet est perferendis? Corrupti.</div>
      <div class="grid-x grid-margin-x">
         <div id="playground-value" class="cell medium-12 large-6">
           <span>Вибери потрібне значення:</span>
           <label><input type="radio" name="value" value="normal" checked="">normal</label>
           <label><input type="radio" name="value" value="italic">italic</label>
           <label><input type="radio" name="value" value="oblique">oblique</label>
         <div id="playground-code" class="cell medium-12 large-6">
            <pre>div {
  font-style: <span id="playground-code-value">oblique</span>;


  padding: 10px;
  font-size: 18px;
  background-color: lightgrey;
  margin-bottom: 10px;
  font-size: 20px;
  border: 2px dashed red;
  width: auto;
  text-align: center;
  padding: 5px;
  margin-bottom: 10px;

  font-size: 18px;


                var radios=document.querySelectorAll('#playground-value input[type="radio"]');

function changeHandler(event){