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

Quick-add: + add another resource

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.

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.

            
              <p>I found out about some interesting stuff while reading the <a href="https://www.w3.org/TR/2014/REC-html5-20141028/grouping-content.html#the-li-element">spec</a> for list items. Check it out if you want to learn any more!</p>
  
<p>This is a standard ordered list, but with a twist: you don't actually need the closing list tag on each item for it to be valid:</p>
<ol>
  <li>Boring first item
  <li>Boring second item
  <li>Boring third item
  <li>Slightly interesting fourth item
  <li>Boring fifth item
</ol>

<p>You can reverse the order of a list using the <i>reversed</i> attribute</p>
<ol reversed>
  <li>Boring first item
  <li>Boring second item
  <li>Boring third item
  <li>Slightly interesting fourth item
  <li>Boring fifth item
</ol>

<p>You can change the order on a list item by setting it's <i>value</i> attribute. The list will continue counting up or down from that point, depending on whether <i>reversed</i> is specified.</p>
<ol>
  <li>Boring first item
  <li>Boring second item
  <li value="5">Boring third item
  <li>Slightly interesting fourth item
  <li>Boring fifth item
</ol>

<p>An interesting side effect of this is, if you set a value on a list in reverse order, it will start using negative numbers</p>
<ol reversed>
  <li value="1">Boring first item
  <li>Boring second item
  <li>Boring third item
  <li>Slightly interesting fourth item
  <li>Boring fifth item
</ol>
            
          
!
            
              * {
  background-color: #D65A56;
/*   color: #EFC3C2; */
  color: white;
  margin: 0;
  font-size: 1.3rem;
  line-height: 2rem;
  font-family: "Open Sans", helvetica, sans;
  font-weight: 800;
}

body {
  padding: 1rem 15%;
}

p {
  margin-bottom: 1rem;
  color: #EFC3C2;
}

ul, ol {
  margin: 0 auto 3rem; 
}

li {
/*   color: #EFC3C2; */
}

            
          
!
999px
Loading ..................

Console