cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv


A Pen By Captain Anonymous

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.

              <div class="box">
	<h4>Lorem ipsum</h4>
	<p>At vero eos et accusamus et iusto odio dignissimos ducimus:</p>
	<li class="bg"><p>Nam libero tempore</p></li>
	<li class="no-bg"><p>Et voluptates repudiandae </p></li>
	<li class="bg"><p>Neque porro quisquam</p></li>
	<li class="no-bg"><p>Quis autem vel eum</p></li>
	<li class="bg"><p>Sed ut perspiciatis</p></li>
              div.box {
		margin: 1.6em 0 1em 0;
    padding: 0 0 0 1em;
		border: 2px solid #7db447;
	ol {
		margin: 1em;
		padding: 0.1em 0 0.8em 1.2em;
	.no-bg, .bg {
		font-family: "DejaVu Sans", sans-serif;
		font-weight: bold;
		padding: 0.1em 0 0.8em 1em;
	.bg {
		background-color: #e3f3d4;
	.no-bg p, .bg p {
		font-family: "DejaVu Serif", serif;

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