Pen Settings



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


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


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.


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.


                <h1>On the Shoulders of Giants</h1>
<ul class="credits1 credits">
	<li>Jose Vargas: <a href="" target="_blank">Ordered List CSS Styles</a></li>
	<li>Roger Johannson: <a href="" target="_blank">Styling Ordered List Numbers</a></li>
	<li>David McFarland: <a href="" target="_blank">Custom List Numbers</a></li>
	<li>Chris Coyier: <a href="" target="_blank">Base 64 Encode of 1x1px Transparent GIF</a></li>
	<li>Chris Coyier: <a href="" target="_blank">Numbering in Style</a></li>

<h1>On the Shoulders of Giants</h1>
<ul class="credits2 credits"></ul>

<h1>On the Shoulders of Giants</h1>
<ul class="credits3 credits"></ul>

<h1>On the Shoulders of Giants</h1>
<ul class="credits4 credits"></ul>

<h1>On the Shoulders of Giants</h1>
<ul class="credits5 credits"></ul>


                @font-face {font-family: 'dejavu_sansbold';font-weight: normal; font-style: normal;
    src: url('dejavusans-bold-webfont.eot?#iefix') format('embedded-opentype'), 
        url('') format('woff'), 
        url('dejavusans-bold-webfont.ttf')  format('truetype'),
        url('dejavusans-bold-webfont.svg#svgFontName') format('svg');}

body {font-family:Arial,"Lucida Sans",sans-serif;margin-left:20px;background:white;}
h1 {font-size:2em;width:90%;margin-bottom:30px;margin-left:20px;padding-bottom:10px;border-bottom:4px solid black;}
a:link, a:visited {color:teal;}
ul.credits {margin-left:40px;margin-top:0px;padding-top:0px;font-size:1.15em;
		list-style:disc url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);}
.credits li:before {position:relative;left:-0.5em;font-size:1.5em;color:teal;
font-family:dejavu_sansbold, serif;}
.credits li {margin-bottom:10px;}

.credits1 li:before {content: "\2638";}
.credits2 li:before {content: "\261E";font-size:1.2em;color:brown;}
.credits3 li:before {content: "\2615";color:#333;}
.credits4 li:before {content: "\2654";color:black;}
.credits5 li:before {content: "\1405";font-size:1em;color:purple;font-family:serif;}


                var creditshtml = document.querySelector(".credits1").innerHTML;
for (var i=2;i<=5;i++){
  document.querySelector(".credits" + i).innerHTML = creditshtml;