Pen Settings

HTML

CSS

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.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

Behavior

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.

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

              
                <p><strong>Outside</strong> This is an introductory paragraph so you can see the line length – or messure – of the column in relation to the lists below:</p>
		<ul class="ul-outside">
			<li>Excited him now natural saw passage offices you minuter.</li>
			<li>At by asked being court hopes. Farther so friends am to detract. Forbade concern do private be. Offending residence but men engrossed shy. Pretend am earnest offered arrived company so on. Felicity informed yet had admitted strictly how you.</li>
			<li>Raising say express had chiefly detract demands she. Quiet led own cause three him.</li>
			<li>Front no party young abode state up. Saved he do fruit woody of to. Met defective are allowance two perceived listening.</li>
			<li>Mankind and valley indeed so no wonder future nature vanity.</li>
		</ul>
		<p><strong>Indented</strong> This is an introductory paragraph so you can see the line length – or messure – of the column in relation to the lists below:</p>
		<ul class="ul-indented">
			<li>Excited him now natural saw passage offices you minuter.</li>
			<li>At by asked being court hopes. Farther so friends am to detract. Forbade concern do private be. Offending residence but men engrossed shy. Pretend am earnest offered arrived company so on. Felicity informed yet had admitted strictly how you.</li>
			<li>Raising say express had chiefly detract demands she. Quiet led own cause three him.</li>
			<li>Front no party young abode state up. Saved he do fruit woody of to. Met defective are allowance two perceived listening.</li>
			<li>Mankind and valley indeed so no wonder future nature vanity.</li>
		</ul>
		<p><strong>Loosly Indented</strong> This is an introductory paragraph so you can see the line length – or messure – of the column in relation to the lists below:</p>
		<ul class="ul-loosly-indented">
			<li>Excited him now natural saw passage offices you minuter.</li>
			<li>At by asked being court hopes. Farther so friends am to detract. Forbade concern do private be. Offending residence but men engrossed shy. Pretend am earnest offered arrived company so on. Felicity informed yet had admitted strictly how you.</li>
			<li>Raising say express had chiefly detract demands she. Quiet led own cause three him.</li>
			<li>Front no party young abode state up. Saved he do fruit woody of to. Met defective are allowance two perceived listening.</li>
			<li>Mankind and valley indeed so no wonder future nature vanity.</li>
		</ul>
		<p><strong>Special Character</strong> This is an introductory paragraph so you can see the line length – or messure – of the column in relation to the lists below:</p>
		<ul class="ul-special-character">
			<li>Excited him now natural saw passage offices you minuter.</li>
			<li>At by asked being court hopes. Farther so friends am to detract. Forbade concern do private be. Offending residence but men engrossed shy. Pretend am earnest offered arrived company so on. Felicity informed yet had admitted strictly how you.</li>
			<li>Raising say express had chiefly detract demands she. Quiet led own cause three him.</li>
			<li>Front no party young abode state up. Saved he do fruit woody of to. Met defective are allowance two perceived listening.</li>
			<li>Mankind and valley indeed so no wonder future nature vanity.</li>
		</ul>
		<p><strong>Roman</strong> This is an introductory paragraph so you can see the line length – or messure – of the column in relation to the lists below:</p>
		<ol class="ol-roman">
			<li><span>Excited him now natural saw passage offices you minuter.</span></li>
			<li><span>At by asked being court hopes. Farther so friends am to detract. Forbade concern do private be. Offending residence but men engrossed shy. Pretend am earnest offered arrived company so on. Felicity informed yet had admitted strictly how you.</span></li>
			<li><span>Raising say express had chiefly detract demands she. Quiet led own cause three him.</span></li>
			<li><span>Front no party young abode state up. Saved he do fruit woody of to. Met defective are allowance two perceived listening.</span></li>
			<li><span>Mankind and valley indeed so no wonder future nature vanity.</span></li>
		</ol>
		<p><strong>Striking</strong> This is an introductory paragraph so you can see the line length – or messure – of the column in relation to the lists below:</p>
		<ol class="ol-striking">
			<li>Excited him now natural saw passage offices you minuter.</li>
			<li>At by asked being court hopes. Farther so friends am to detract. Forbade concern do private be. Offending residence but men engrossed shy. Pretend am earnest offered arrived company so on. Felicity informed yet had admitted strictly how you.</li>
			<li>Raising say express had chiefly detract demands she. Quiet led own cause three him.</li>
			<li>Front no party young abode state up. Saved he do fruit woody of to. Met defective are allowance two perceived listening.</li>
			<li>Mankind and valley indeed so no wonder future nature vanity.</li>
		</ol>
              
            
!

CSS

              
                /*Load Font*/
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:700,900|Source+Serif+Pro:400,700');

* {
	box-sizing: border-box;
}

html {
	font-size: 125%;
}

body {
	font-family: 'Source Serif Pro', Georgia, serif;
	margin: 0.8rem auto 8rem;
	padding: 1.6rem 1.6rem;
	max-width: 36.5rem;
	line-height: 1.6rem;
	color: #222;
}

ul, ol {
	margin: 0 0 4.8rem;
}
p {
	margin: 0 0 1.6rem;
}




/* ## OUTSIDE ### */
.ul-outside {
	padding: 0; /* reset */
	margin-top: -1.2rem;
}




/* ## INDENTED ### */
.ul-indented {
	padding-left: 1.2rem;
	margin-top: -1.2rem;
}




/* ## LOOSLY INDENTED ### */
.ul-loosly-indented {
	margin-top: -0.8rem;
	padding-left: 1.2rem;
	list-style: square;
}
.ul-loosly-indented > li {
	margin-bottom: 0.8rem;
}




/* ## SPECIAL CHARACTER ### */
.ul-special-character {
	margin-top: -0.8rem;
	padding-left: 1.2rem;
	list-style: none;
}
.ul-special-character > li {
	margin-bottom: 0.8rem;
}
.ul-special-character > li::before {
	content: "\00B6"; /* Escaped unicode character */
	margin-left: -1em;
	margin-right: 0.4em;
}





/* ## CONTRAST ### */
.ol-roman {
	padding-left: 0;
	margin-top: -1.2rem;
	list-style: upper-roman;
}

.ol-roman > li {
	margin-bottom: 0.8rem;
	font-family: "Source Sans Pro", "Arial Black", sans-serif; /* only for numbers */
	font-weight: 900;
	list-style-position: inside;
}

.ol-roman span {
	font-family: 'Source Serif Pro', Georgia, serif;  /* Text of li */
	font-weight: normal;
}




/* ## STRIKING ### */
.ol-striking {
	padding-left: 2.4rem;
	margin-top: -1.2rem;
	list-style: none;
}

.ol-striking > li {
  position: relative;
  counter-increment: item;
	margin-bottom: 0.8rem;
}

.ol-striking > li:before {
	font-family: "Source Sans Pro", "Arial Black", sans-serif;
	font-weight: 700;
	font-size: 1.2rem;
  content: counter(item);
	background: #333;
	color: #fff;
	line-height: 1;
	text-align: center;
	position: absolute;
		top: 0.1rem;
		left: -2.4rem; /* negative padding-left of ol */
	width: 1.1em;
	height: 1.05em;
	padding-top: 0.05em;
}
              
            
!

JS

              
                
              
            
!
999px

Console