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.

              <ol class="fancy">
		<li class="green">Lorem ipsum dolor sit amet.</li>
		<li class="red">Lorem ipsum dolor sit amet.</li>
		<li class="blue">Lorem ipsum dolor sit amet.</li>
		<li class="darkred">Lorem ipsum dolor sit amet.</li>
		<li class="orange">Lorem ipsum dolor sit amet.</li>
                ol.fancy{counter-reset: li}
	ol.fancy li{list-style: none; margin-bottom: 12px; font: 24px "times new roman";}

	ol.fancy li:before{
	  content: counter(li);
		counter-increment: li;
		color: #fff;
		margin-right: 14px;
		padding: 0px 7px;
		border-radius: 100%;
		border: 1px dashed white;

	li.green:before{background: green; box-shadow: 0 0 0 2px green;}
	li.red:before{background: red; box-shadow: 0 0 0 2px red;}
	li.blue:before{background: blue; box-shadow: 0 0 0 2px blue;}
	li.darkred:before{background: darkred; box-shadow: 0 0 0 2px darkred;}
	li.orange:before{background: orange; box-shadow: 0 0 0 2px orange;}

Loading ..................