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

              
                <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"/>


<div class="container-fluid well">
  <h1 class="text-center"><b>Nelson Mandela</b></h1>
  <h2 class="text-center"><em>A man who gave up his freedom in fight for justice</em></h2>

<div class="well">
 
  <a><img class="img-responsive container" style="width:1050px;" src="http://assets.ne.se/image/original/73908_mandela.jpg"></a>
   <h5 class="text-center">Mandela visiting the prison on Robben Island in 1994, where he spent 18 years between 1964 and 1982.</h5>
 
</div>

<div>
  <div class="text-center">
   <h3>The following time line will present an overview of the extraordinary life of Nelson Mandela</h3>  
  </div>
  <div>
   <ul class="col-sm-12 col-sm-offset-1">
     <li><strong>1918</strong> - Born 18th of July in the small village of Mvezo, South Africa</li>
     <li><strong>1944</strong> - Helps found the African National Congress Youth League with Walter Sisulu</li>
     <li><strong></strong></li>
     <li><strong></strong></li>
     <li><strong>1993</strong> - Wins the Nobel Peace Prize  </li>
     <li><strong>1994</strong> - Becomes the first President of South Africa through the country's first democratic election on April 27th</li>
     <li><strong>1998</strong> - Becomes Secretary General of Non-Aligned Movement</li>
     <li><strong>2013</strong> - Dies December 5th from a lung infection at the age of 95
   </ul>
  </div>
</div>
 
  

  
  
 <blockquote class="text-center">
 <p>"The time will come when our nation will honour the memory of all the sons, the daughters, the mothers, the fathers, the youth and the children who, by their thoughts and deeds, gave us the right to assert with pride that we are South Africans, that we are Africans, and that we are citizens of the world."
 </p>
  <footer>Nelson Mandela</footer>  
</blockquote>
  
  
  
  
<h4 class="text-center">To read read more about Mandela, check out the <a href="https://en.wikipedia.org/wiki/Nelson_Mandela#Robben_Island:_1964.E2.80.9382">Wikipedia page</a> about him.</h4>
</div>



              
            
!

CSS

              
                <style>
a:link {
  color: blue;
}

a:hover {
  color: grey;
}
  
</style>
              
            
!

JS

              
                

              
            
!
999px

Console