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 Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

HTML

              
                <h1 class="text-center">Elon Musk</h1>
<h2 class="text-center">The man who is changing the world</h2>
<figure>
  <img class="img-responsive" src="https://a.fastcompany.net/multisite_files/fastcompany/imagecache/w/939/h/528/scale/poster/2015/10/3052889-poster-p-2-the-issue-with-existing-batteries-is-that-they-suck.jpg" alt="Elon Musk<">
  <figcaption>Elon Musk is venturing headfirst into the battery business. Here's why it might be his boldest bet yet.</figcaption>
</figure>
<h2>Here's a time line of Dr. Borlaug's life:</h2>
<ul>
  <li>1971 - Born in Pretoria, Transvaal, South Africa.</li>
  <li>1981 - Developed an interest in computing with the Commodore VIC-20.</li>
  <li>1990 - Was accepted into Queen's University in Kingston, Ontario, for undergraduate study.</li>
  <li>1995 - Moved to California to begin a PhD in applied physics and materials science at Stanford University.</li>
  <li>1995 - Started Zip2, a web software company, with US$28,000 of their father's money.</li>
  <li>1999 - Co-founded X.com, an online financial services and e-mail payment company, with US$10 million from the sale of Zip2.</li>
  <li>2001 - Conceptualized "Mars Oasis"; a project to land a miniature experimental greenhouse on Mars</li>
  <li>2002 - Founded Space Exploration Technologies, or SpaceX</li>
</ul>

<p>"If I’m trying to solve a problem, and I think I’ve got some elements of it kind of close to being figured out, I’ll pace for hours trying to think it through."</p>

<p> - Elon Musk</p>

<h2>If you have time, you should read more about this incredible human being on his <a href="https://en.wikipedia.org/wiki/Elon_Musk">Wikipedia entry</a>.</h2>
              
            
!

CSS

              
                body {
  margin-top: 60px;
}
              
            
!

JS

              
                
              
            
!
999px

Console