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

Details

Privacy

Go PRO Window blinds lowered to protect code. Code Editor with window blinds (raised) and a light blub turned on.

Keep it secret; keep it safe.

Private Pens are hidden everywhere on CodePen, except to you. You can still share them and other people can see them, they just can't find them through searching or browsing.

Upgrade to PRO

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.

Template

Make Template?

Templates are Pens that can be used to start other Pens quickly from the create menu. The new Pen will copy all the code and settings from the template and make a new Pen (that is not a fork). You can view all of your templates, or learn more in the documentation.

Template URL

Any Pen can act as a template (even if you don't flip the toggle above) with a special URL you can use yourself or share with others. Here's this Pen's template URL:

Screenshot

Screenshots of Pens are shown in mobile browsers, RSS feeds, to users who chose images instead of iframes, and in social media sharing.

This Pen is using the default Screenshot, generated by CodePen. Upgrade to PRO to upload your own thumbnail that will be displayed on previews of this pen throughout the site and when sharing to social media.

Upgrade to PRO

HTML

              
                <h1>Header 1</h1>
	<h2>Header 2</h2>
	<h3>Header 3</h3>
	<h4>Header 4</h4>
	<h5>Header 5</h5>
	<h6>Header 6</h6>
	<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Repellendus placeat, impedit nostrum fugiat ipsam ea ut error quasi! Distinctio consectetur dicta deleniti dolorem? Doloremque quos laborum corporis. Similique cupiditate, nihil quam voluptatum et fugiat non dolorum asperiores hic vero! Eius quod atque et dolores doloribus tempora quibusdam ipsam impedit rem id! Tempora recusandae vel cumque excepturi doloremque suscipit qui laudantium dicta odio rerum nostrum quia deleniti, non laborum quidem architecto sunt quam. Placeat pariatur, reprehenderit cumque omnis eos ipsum reiciendis exercitationem quam deleniti earum rem, sunt quisquam eaque praesentium. Pariatur ea delectus illo facilis mollitia eius porro atque cum veritatis autem earum sint saepe, sequi obcaecati beatae culpa corporis perspiciatis et, ex harum quisquam voluptatibus ab minima eum. Quo impedit laborum omnis molestias quia nemo error mollitia. Eos saepe atque dignissimos veniam et aliquid cum ex explicabo alias perspiciatis, asperiores tempore commodi adipisci id optio, sunt esse, necessitatibus accusantium illo non labore. Voluptate eaque sint impedit hic provident eveniet. Quae sunt fugiat nesciunt, hic ipsam, omnis repellendus modi, placeat facilis eos magnam incidunt, reiciendis eligendi et animi dolore a eum recusandae vitae accusamus. Magni debitis, dolore fugit sunt, odit maiores libero molestiae tempore sint, natus similique tenetur dolorum! Consequuntur excepturi vero eaque, labore, ratione rem dignissimos omnis unde ea expedita exercitationem quos quam velit. Labore necessitatibus eaque culpa inventore voluptatibus vel iure ea libero dolorum aliquam harum voluptatum possimus eum, corporis in vitae obcaecati, expedita, saepe. Minus recusandae veritatis eaque rem aliquam tempore iusto quae reprehenderit a exercitationem consectetur voluptatem explicabo quas repudiandae, esse deserunt pariatur libero officiis atque non totam quam optio. Fugit accusamus dolor totam nihil magni quos. Suscipit tempora error quasi, tempore illum officiis aliquid fugiat dolores, temporibus ea reiciendis possimus nemo et molestias sed. Maiores explicabo nemo ducimus ipsa dolor vitae suscipit, tempore rerum placeat pariatur. Velit molestias sint excepturi fuga nisi blanditiis, ut, delectus illo autem aut natus facilis, itaque rerum praesentium. A laboriosam ipsum aspernatur in corporis accusantium voluptatem nisi commodi, nulla, tenetur facere, minima, ea dolorum. Dolores perferendis enim quam, dolore, perspiciatis veritatis?</p>
              
            
!

CSS

              
                *{
	padding: 0;
	margin: 0;
}
body{
	margin:0;
	padding:0;
	color: #FFF;
	background: #333;
    font-family:;
    width: 600px;
    margin: 0px auto;
    font-size: 16px;
    line-height: 1.5;
}
p{
	font-size: 1em; /* 16px */
	line-height: 1.5em;
	margin: 1.5em 0;
}
h1{
	font-size: 2em; /* 32px */
	line-height: 1.5em;
	margin: 1.5em 0;
}
h2{
	font-size: 1.875em; /* 30px */
	line-height: 1.6em;
	margin: 1.6em 0;
}
h3{
	font-size: 1.750em; /* 28px */
	line-height: 1.7142em;
	margin: 1.7142em 0;
}
h4{
	font-size: 1.625em; /* 26px */
	line-height: 1.8461em;
	margin: 1.8461em 0;
}
h5{
	font-size: 1.5em; /* 24px */
	line-height: 1em;
	margin: 1em 0;
}
h6{
	font-size: 1.375em; /* 22px */
	line-height: 1.0909em;
	margin: 1.0909em 0;
}
              
            
!

JS

              
                
              
            
!
999px
Promise you'll await for me.

Console