Pen Settings

HTML

CSS

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

JavaScript

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

Behavior

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

HTML

              
                <body>
  <form method="post">
    <fieldset id="syntax" class="topBoxes">
      <h3>Syntax Highlighting</h3>

      <label>
      <input type="radio" name="syntax" value="Twilight" >Twilight </label>
      <label>
      <input type="radio" name="syntax" value="Solarized Dark" >Solarized Dark</label>
      <label>
      <input type="radio" name="syntax" value="Solarized Light" >Solarized Light</label>
      <label>
      <input type="radio" name="syntax" value="Tomorrow Night" >Tomorrow Night</label>
      <label>
      <input type="radio" name="syntax" value="Classic" >Classic</label>
    </fieldset>

    <fieldset id="fonts" class="topBoxes">
      <h3>Fonts</h3>

      <label for="fontsOption">Code Font Family:<br/>
      <select name="fonts" id="fontsOption">
       <option value="Monaco">Monaco</option>
       <option value="Courier">Courier</option>
        <option value="Inconsolata">Inconsolata</option>
       <option value="Source Code Pro">Source Code Pro</option>
     </select>
     </label>
      <br>
      <label for="fonts2">Code Font Size:<br/>
       <select name="fonts" id="fonts2">
        <option value="10">10px</option>
        <option value="11">11px</option>
        <option value="12">12px</option>
        <option value="13">13px</option>
        <option value="14">14px</option>
        <option value="15">15px</option>
        <option value="16">16px</option>
        <option value="17">17px</option>
        <option value="18">18px</option>
        <option value="19">19px</option>
        <option value="20">20px</option>
        <option value="26">26px</option>
       </select>
     </label>
    </fieldset>
    <fieldset id="bindings" class="topBoxes">
      <h3>Key Bindings</h3>

      <label>
    <input type="radio" name="bindings" value="Normal" >Normal
    </label>
      <label>
      <input type="radio" name="bindings" value="Sublime Text" >Sublime Text
    </label>
      <label>
      <input type="radio" name="bindings" value="Vim" >Vim
    </label>
    </fieldset>
    <fieldset id="indentation" class="topBoxes">
      <h3>Code Indentation</h3>

      <label>
      <input type="radio" name="Spaces">Spaces
      </label>
      <label>
        <input type="radio" name="tabs">Tabs
      </label>
      <br>
      <label>Width of Indent</label>
      <form oninput="x.value=parseInt(a.value)">
        <span class="leftval">0</span>
        <input id="a" type="range" value="50" />
        <span class="rightval">100</span>=
        <output name="x" for="a"></output>
      </form>
    </fieldset>
    <fieldset id="preprocessor">
      <h3>Preprocessor &amp Library Defaults</h3>
      <div class="prepOption">
        <label for "prepros">HTML Preprocessor
        <select name="prepros" id="prepros" class="prepInput">
          <option value="Normal">Normal</option>
          <option value="Markdown">Markdown</option>
          <option value="Haml">Haml</option>
          <option value="SLim">Slim</option>
          <option value="Jade">Jade</option>
        </select>
        </div>
      </label>
        <br />
        <div class="prepOption">
          <label for "css-prepros">CSS Preprocessor
        <select name="css-prepros" id="css-prepros" class="prepInput">
          <option value="SCSS">SCSS</option>
          <option value="Sass">Sass</option>
          <option value="Less">Less</option>
          <option value="Stylus">Stylus</option>
        </select>
      </label>
        </div>
        <div class="prepOption">

          <label for "css-addons">CSS Add-on
        <select name="css-addons" id="css-addons" class="prepInput">
          <option value="no Add-on">No Add-on</option>
          <option value="Compass">Compass (for Sass)</option>
          <option value="Bourbon">Bourbon (for Sass)</option>
          <option value="LESS Hat">LESS Hat (for LESS)</option>
          <option value="Nib">Nib (for Stylus)</option>
        </select>
      </label>
        </div>
        <div class="prepOption">

          <label for "css-reset">CSS Reset
        <select name="css-reset" id="css-reset" class="prepInput">
          <option value="neither">Neither</option>
          <option value="Include Normalize">Include Normalize</option>
          <option value="Include Reset">Include Reset</option>
          <option value="LESS Hat">LESS Hat (for LESS)</option>
          <option value="Nib">Nib (for Stylus)</option>
        </select>
      </label>
        </div>
        <div class="prepOption">

          <label for "prefixing">Prefixing
        <select name="prefix" id="prefix" class="prepInput">
          <option value="Neither">Neither</option>
          <option value="-prefix-free">-prefix-free</option>
          <option value="Autoprefixer">Autoprefixer</option>
        </select>
      </label>
        </div>
        <br>
        <div class="prepOption">


          </label>
        </div>
        <div class="prepOption">
          <div class="prepLibTable">
            <div class="prepLibTableRow">
              <div class="prepLibTableLabel">
                <label for="JS-prepro">JS Preprocessor</label>
              </div>
              <div class="prepLibTableInput">
                <select name="JS-prepro" id="JS-prepro" class="prepLibInputElement">
          <option value="Normal">Normal</option>
          <option value="jQuery">jQuery</option>
          <option value="MooTools">MooTools</option>
          <option value="Prototype">Prototype</option>
          <option value="Angular">Angular</option>
        </select>
              </div>
            </div>

            <div class="prepLibTableRow">
              <div class="prepLibTableLabel">
                <label for="js-lib">JS Library</label>
              </div>
              <div class="prepLibTableInput">
                <select name="js-lib" id="js-lib" class="prepLibInputElement">
           <option value="No Library">No Library</option>
          <option value="jQuery">jQuery</option>
          <option value="MooTools">MooTools</option>
          <option value="Prototype">Prototype</option>
          <option value="Angular">Angular</option>
        </select>
              </div>
            </div>
            <div class="prepLibTableRow">
              <div class="prepLibTableLabel">
                <label for="normOption">Include Normalizr</label>
              </div>
              <div class="prepLibTableInput">
         <input type="checkbox" name="Include Normalizr" id="normOption">
             </div>
            </div>

                        <div class="prepLibTableRow">
              <div class="prepLibTableLabel">
                <label for="autoOption">Auto Update preview</label>
              </div>
              <div class="prepLibTableInput">
         <input type="checkbox" name="Auto UpdatePreview" id="autoOption">
             </div>
            </div>


          </div>

        </div>
         </div>
    </fieldset>
    <fieldset id="editor">
      <h3>Editor Options</h3>

      <label>
        <input type="checkbox" name="Line Numbers">Line Numbers
      </label>
      <label>
        <input type="checkbox" name="Line Wrapping">Line Wrapping
      </label>
      <label>
        <input type="checkbox" name="Code Folding">Code Folding
      </label>
      <label>
        <input type="checkbox" name="Match Brackets">Match Brackets
      </label>

    </fieldset>
    <fieldset id="footer">
      <input class="button" type="submit" name="" value="Save All Settings">
    </fieldset>
  </form>

</body>
              
            
!

CSS

              
                
body {
  background-color: #262626;
}
.topBoxes {
  min-height: 200px;
}
h3{
  border-bottom: 2px solid #262626;
  padding-bottom: 4px;
}
h3,input {
  color:white;
}
label {
  padding: 2px;
}
fieldset {
  border:none;
  background-color: black;
}
#syntax,#bindings,#preprocessor {
  float:left;
  width:50%;
}
#fonts,#indentation,#editor {
  float:right;
  width:45%;
}
#footer {
  clear:both;
  height:100px;
}
#syntax label{
  display: block;
  color:white;
}

#fonts,#syntax,#bindings,#indentation,#preprocessor,#editor,#footer {
  margin:01% 10px 1%;
}
#fonts label {
  color:white;
}

#bindings label {
  display: block;
  color: white;
}

#indentation label {
  display:block;
  color: white;
}

#preprocessor label{
  display:block;
  color: white;
}
#prepros label {
  color: white;
}
#prepros option {
  justify-content: flex-end;
}

#editor label {
  display: block;
  color: white;
}

.button {
  color:black;
  radius:5px;
}
.prepInput {
  width: 50%;
}
.prepOption {
  text-align: right;
}
.inlineLabel {
  display: inline-block;
}
#normOption {
}

.prepLibTable {
  display: table;
  width: 100%;
}
.prepLibTableRow {
  display: table-row;
  padding: 19px;
}
.prepLibTableLabel {
  display: table-cell;
  text-align: right;
}
.prepLibTableLabel label {
  margin-right: 10px;
}
.prepLibTableInput {
  display: table-cell;
  width: 50%;
  text-align: left;
}
.prepLibInputElement {
  width: 100%;
}

              
            
!

JS

              
                
              
            
!
999px

Console