cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

Code Indentation


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.

  <li><input disabled value="foo" id="a1"><label for="a1">Disabled</label></li>
  <li><input readonly value="foo" id="a2"><labelfor="a2">Readonly </label></li>
<ol start=3>
  <li><input type=radio name=foo value="1" checked=checked id="a3"><label for="a3">Radio </label></li>
  <li><input type=radio name=foo value=2 id="a4"><label for="a4">Radio </label></li>
  <li><input type=radio name=foo value=3 id="a5"><label for="a5">Radio </label></li>
  <li><input type=radio name=foo value=4 id="a6"><label for="a6">Radio </label></li>
 <ol start=7>   
  <li><input type=Checkbox name=foob value="1" id="a7" checked=checked><label for="a7">Checkbox </label></li>
  <li><input type=Checkbox name=foob value="2" id="a8" ><label for="a8">Checkbox </label></li>
  <li><input type=Checkbox name=foob value="3" id="a9" ><label for="a9">Checkbox </label></li>
  <li><input type=Checkbox name=foob value="4" id="a10" ><label for="a10">Checkbox </label></li>
<ol start=11>
  <li><select size=2><option>1
    <option selected>3
    <datalist id="foobar">
    <option selected>3
    <input type=text list="foobar"></li>
   <li><input placeholder="placeholder-shown"></li>
              body, input, option, select {font-size: 1.4rem;}
select {width: 2rem;}
input:placeholder-shown {background-color: pink;}
input:read-write + label {color: magenta;}
input:default + label {color: red;}
input:checked {display: inline-block; margin-right: 20px;}
input:read-write {background-color: grey}
input:read-only {background-color: red;}
*:default {background-color: red; text-decoration: underline; font-style: italic;}
Loading ..................