Pen Settings

HTML

CSS

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

JavaScript

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

Packages

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.

Behavior

Auto Save

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

              
                <h1>Examples of Nested Lists</h1>

<h2>Procedures where some steps have their own steps</h2>
<ol>
  <li>Open the "Customize" dialog.</li>
  <li>Beside "Remote Connection", click the "Manage" button.</li>
  <li>Fill in your connection details:
    <ol type="a">
      <li>Type in your host name as login.dev.fast.sheridanc.on.ca</li>
      <li>For the Type, select Secure FTP.</li>
      <li>Enter your user name and password.</li>
      <li>Click OK.</li>
    </ol>
  </li>
  <li>Enter the "Upload Directory" as /usr/home/login/syst10199,
    where "login" is your own login name.</li>
  <li>Select "Manually" for the "Upload" options.</li>
  <li>Click OK.</li>
</ol>

<h2>Bulleted lists inside bulleted lists</h2>

<ul>
  <li>Monday
    <ul>
      <li>Morning</li>
      <li>Afternoon</li>
    </ul>
  </li>
  <li>Tuesday, Thursday
    <ul>
      <li>Afternoon</li>
      <li>Evening</li>
    </ul>
  </li>
  <li>Friday - All Day</li>
  <li>Saturday/Sunday - Not Available</li>
</ul>

<h2>Bulleted lists inside Numbered lists and vice versa</h2>

<ul>
  <li>Monday, Wednesday, Friday Mornings
    <ol>
      <li>Walk the dog</li>
      <li>Help with breakfast</li>
      <li>Clean room</li>
    </ol>
  </li>
  <li>Tuesday, Thursday
    <ol>
      <li>Feed fish</li>
      <li>Take out garbage</li>
      <li>Clean room</li>
    </ol>
  </li>
</ul>

<hr>

<ol>
  <li>Turn off the power
    <ul>
      <li>Press and hold power button until on-screen menu appears, then select "Power Off"</li>
      <li>Wait until device has fully powered off before turning it back on again.</li>
    </ul>
  </li>
  <li>Restart device
    <ul>
      <li>Press and hold power button for 3 seconds</li>
      <li>Wait until device has completely powered on (when the home screen appears).</li>
    </ul>
  </li>
</ol>
              
            
!

CSS

              
                html,
body {
  font: 16px Arial, sans-serif;
}

              
            
!

JS

              
                
              
            
!
999px

Console