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. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource


Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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


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">
         <div id="playground-property" style="padding: 20px; border: 3px solid red; width: 200px; box-sizing: content-box">Lorem ipsum, dolor sit amet consectetur adipisicing elit. Ducimus omnis ut eveniet dolorem ratione, mollitia expedita porro provident? Officia, blanditiis. Aliquam aut saepe obcaecati ullam quas totam placeat molestias consectetur!</div>
      <div class="grid-x grid-margin-x">
        <p>Вибери потрібне значення для властивості <b>box-sizing</b>:</p>
         <div id="playground-value" class="cell medium-12 large-6">
           <label><input type="radio" name="value" value="content-box" checked="">content-box</label> 
           <label><input type="radio" name="value" value="border-box">border-box</label></div>
         <div id="playground-code" class="cell medium-12 large-6">
            <pre>div {
  width: 400px;
  padding: 20px; 
  border: 3px dashed #c26558;
  box-sizing: <span id="playground-code-value">content-box</span>;
}<div class="preloader"><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div></pre>


  margin-bottom: 20px;
  font-size: 18px;
  background: lightgrey;
  font-weight: 700;
  font-size: 17px;
  font-size: 18px;


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

function changeHandler(event){