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 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

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

              
                <div class="well">
  <h1 class="text-center">Stephen William Hawking</h1>
  <h3 class="text-center title">theoretical physicist, cosmologist</h3>
  <div class="img-container">
    <img src="https://upload.wikimedia.org/wikipedia/commons/e/eb/Stephen_Hawking.StarChild.jpg" alt="" class="img-responsive"/>
    <h5 class="text-center">Hawking at NASA, 1980s</h5>
  </div>
  <h2 class="text-center">Here's Stephen William Hawking's popular pubblication</h2>
<div class="text">
  <ul>
  <li><b>A Brief History of Time</b> (1988)</li>
<li><b>Black Holes and Baby Universes and Other Essays</b> (1993)</li>
<li><b>The Universe in a Nutshell</b> (2001)</li>
<li><b>On The Shoulders of Giants</b> (2002)</li>
<li><b>God Created the Integers: The Mathematical Breakthroughs That Changed History</b> (2005)</li>
<li><b>The Dreams That Stuff Is Made Of: The Most Astounding Papers of Quantum Physics and How They Shook the Scientific World</b> (2011)</li>
<li><b>My Brief History</b> (2013)</li>
  </ul> 
  <blockquote>
    <p>We are each free to believe what we want and it is my view that the simplest explanation is there is no God. No one created the universe and no one directs our fate. This leads me to a profound realization. There is probably no heaven, and no afterlife either. We have this one life to appreciate the grand design of the universe, and for that, I am extremely grateful.</p>
    <footer>S.W.Hawking</footer>
  </blockquote>
  <h3>If you have time, you should read more about this incredible human being on his <a href="https://en.wikipedia.org/wiki/Stephen_Hawking" target="_blank">Wikipedia entry</a>.</h3>
</div>
</div>
              
            
!

CSS

              
                body{
  padding:50px;
}
h1{
  font-size:46px;
}
h3.title{
  color:#b1b1b1;
}
.img-container{
  padding:3px;
  background-color:#fff;
  margin:50px auto 0;
  border:1px solid #ccc;
  max-width: 250px;
}
.img-container p{
  margin-top:10px;
  text-align
}
.text{
  width:50%;
  margin:10px auto 0;
}
              
            
!

JS

              
                
              
            
!
999px

Console