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.


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-item even">
   <div id="playground-result">
      <div id="playground-property" style="padding: 10px; outline: 5px red; outline-style: none">Lorem ipsum, dolor sit amet consectetur adipisicing elit. Doloribus, quia molestiae officia voluptatem nihil sunt veniam accusantium? Aperiam eveniet, velit, pariatur minus maxime quis fuga sequi reprehenderit beatae, quaerat nesciunt?</div>
  <p>Вибери потрібне значення для властивсті <b>outline-style</b>:</p>
   <div class="grid-x grid-margin-x">
      <div id="playground-value" class="cell medium-12 large-6">
        <label><input type="radio" name="value" value="none" checked="">none</label>
        <label><input type="radio" name="value" value="dotted">dotted</label>
        <label><input type="radio" name="value" value="dashed">dashed</label>
        <label><input type="radio" name="value" value="solid">solid</label>
        <label><input type="radio" name="value" value="double">double</label>
        <label><input type="radio" name="value" value="groove">groove</label>
        <label><input type="radio" name="value" value="ridge">ridge</label>
        <label><input type="radio" name="value" value="inset">inset</label>
        <label><input type="radio" name="value" value="outset">outset</label>
      <div id="playground-code" class="cell medium-12 large-6">
         <pre>div {
  padding: 10px; 
  outline: 5px #e4efc7;
  outline-style: <span id="playground-code-value">none</span>;
}<div class="preloader"><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div></pre>


  font-size: 18px;
  margin-bottom: 20px;
  font-size: 18px;
  background: lightgrey;
  font-size: 16px;


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

function changeHandler(event){