Pen Settings

HTML

CSS

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

JavaScript

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

Packages

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.

Behavior

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.

HTML

              
                <h3>Lorem ipsum dolor sit am</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. <a href="#">Etiam id mi lorem</a>. Mauris nec tellus pellentesque, posuere risus sed, eleifend diam. Mauris rutrum leo non tempus maximus. Pellentesque mauris magna, pulvinar id ligula at, tempus sagittis libero. <a href="#">Phasellus tempor diam nisl</a>, ut ultrices risus aliquet in. <strong>Aliquam condimentum</strong> dolor quis justo maximus posuere. Mauris orci quam, molestie id eros non, commodo iaculis est. Praesent semper vitae libero nec faucibus. In hac habitasse platea dictumst. <strong>Ut felis erat</strong>, luctus id vulputate in, lobortis a massa. Donec porta dolor massa, in dictum ligula varius accumsan. Ut nec tempor diam, vitae consectetur urna. Etiam eget massa eu <a href="#">magna porta iaculis</a>.</p>
              
            
!

CSS

              
                body {
		font-family: Segoe, 'Segoe UI', 'DejaVu Sans', 'Trebuchet MS', Verdana, sans-serif;
		color: #474747;		
	}	
a {
	color: #0000FF;
	font-weight: bold;
	text-decoration: underline;
}
	a:hover { color:#FF0000;}
              
            
!

JS

              
                
              
            
!
999px

Console