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 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.


                <form action="">
        <p><input type="checkbox" name="checkbox-set" id="checkbox-1" value="Normal Checkbox" checked= /><label for="checkbox-1">Normal Checkbox 1</label></p>
        <p><input type="checkbox" name="checkbox-set" id="checkbox-2" value="Normal Checkbox" /><label for="checkbox-2">Normal Checkbox 2</label></p>
        <p><input type="checkbox" name="checkbox-set" id="checkbox-3" value="Normal Checkbox" required= /><label for="checkbox-3">Normal Checkbox 3</label></p>
        <p><input type="checkbox" name="checkbox-set" id="checkbox-4" value="Normal Checkbox" disabled= /><label for="checkbox-4">Disabled Checkbox</label></p>


  font-family: Arial, Helvetica, sans-serif;
/* Set up the label basics */
  display: inline-block;
  font-size: 1em;
  height: 2em;
  line-height: 2em;
  vertical-align: middle;
/* Hide the checkboxes */
  display: none;
/* Set up some space for the faux checkbox */
input[type="checkbox"] + label{
  padding: 0 0 0 1.5em;
  position: relative;
/* Set up the empty checkbox container */
input[type="checkbox"] + label::before{
  background: #fff;
  border: 2px solid #333;
  border-radius: 20%;
  content: "";
  display: inline-block;
  height: 1em;
  left: 0;
  position: absolute;
  top: calc(0.5em - 2px);
  width: 1em;
/* Set up the check/tick marks */
input[type="checkbox"]:checked + label::after{
  background: transparent;
  border-bottom: 3px solid #0b79bf;
  border-left: 3px solid #0b79bf;
  content: "";
  display: inline-block;
  height: 0.4em;
  left: 0.25em;
  position: absolute;
  top: 0.5em;
  transform: rotate(-20deg) skewX(-10deg);
  width: 1em;
/* Set up disabled styles */
input[type="checkbox"]:disabled + label{
  color: #999;
input[type="checkbox"]:disabled + label:before{
  border-color: #999;