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

              
                <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"/>
<div class="container-fluid">
  <div class="row">
    <div class="col-xs-12">
      <div class="well" id="body-well">
         
  <h1 class="text-center">James Joyce</h1>
  <h3 class="text-center">A Man Who Writes with Complex Simplicity</h3>
  
 <a href="http://www.biography.com/people/james-joyce-9358676" target="blank"> <img class="displayed"  src="http://a1.files.biography.com/image/upload/c_fit,cs_srgb,dpr_1.0,q_80,w_620/MTE1ODA0OTcxNjc5OTc0OTI1.jpg" alt="James Joyce"></a>
  
   
  <h4 class="text-center">James Joyce's key life events:</h3>
  <ul>
  <li>February 2nd 1882: James Joyce is born in Rathgar.</li>
  <li>1888: Joyce is enrolled in Clongowes Wood College.</li>
  <li>1893: The Joyce family move to the North Inner City and Joyce enrolls in Belvedere College. </li>
    <li>1896: Joyce starts writing prose skeches. </li>
    <li>1898: Joyce enrolls in a degree at University College, studying Modern European Languages.</li>
    <li> 1902: Joyce receives his degree and enrolls in medical school in Paris. </li>
    <li>1904: Joyce returns home to care for his dying mother, when he meets his wife-to-be. He also begins writing Dubliners.
    <li>1914: Dubliners is published in London.</li>
    <li>1922: A first edition of Ulysses is published by Joyce's friend. </li>
   <li>1941: Joyce dies of a perforated duodenal ulcer. He is buried in Fluntern cemetery, Zurich. </li>
</ul>
        
   <h4> If you want to know more about James Joyce's legendary life, please visit the <a href="https://en.wikipedia.org/wiki/James_Joyce" target="blank">Wikipedia Page</a>.</h4>
    </div>
      </div>
    </div>
</div>
              
            
!

CSS

              
                h3 {font-style:italic}

img.displayed {
 
    display: block;
    margin-left: auto;
    margin-right: auto }

              
            
!

JS

              
                
              
            
!
999px

Console