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

              
                 <div class="container">
  <div class="jumbotron">
    <div class="row">
      <div class="col-xs-12 ">
        <div class="page-header">
          <h1 class="text-center person">Nelson Mandela</h1>
          <p><i>Nelson Mandela became the first black president of South Africa in 1994, serving until 1999. A symbol of global peacemaking, he won the Nobel Peace Prize in 1993.</i></p>
        </div>
        <div class="row">
          <div class="col-xs-12">
            <div class="thumbnail">
              <img src="http://africasacountry.com/wp-content/uploads/2013/06/Nelson-Mandela_AFP-Photo-2.jpg" class="figure-img img-fluid " alt="A generic square placeholder image with rounded corners in a figure.">
              <figcaption class="figure-caption text-center" style="color:red"> 1918 - 2013</figcaption>
              </figure>
            </div>
          </div>
        </div>
        <div class="row">
          <div class="col-xs-12 col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-2">
            <h2>Here's a time line of Nelson Mandela life:</h1>
         <ul>
           <li><strong>1918 - </strong>	
Born Rolihlahla Mandela at Mvezo in the Transkei
           </li>
           <li><strong>1925 - </strong>Attends primary school near Qunu (receives the name ‘Nelson’ from a teacher)
</li>
           <li><strong>1930 - </strong>
           	
Father dies.Entrusted to Thembu Regent Jongintaba Dalindyebo at the age of 12

While his autobiography Long Walk to Freedom places Mandela's father’s death in 1927, historical evidence shows it must have been later, most likely 1930. In fact, the original Long Walk to Freedom manuscript (written on Robben Island) states the year as 1930.
           </li>
           <li><strong> 1934 - </strong>
           Undergoes initiation; Attends Clarkebury Boarding Institute in Engcobo
           </li>
           
           <li><strong>1937 - </strong>Attends Healdtown, the Wesleyan College at Fort Beaufort</li>
           <li><strong>1939 - </strong>Enrols at the University College of Fort Hare, in Alice

</li>
           <li><strong>1951 - </strong>Elected President of the ANCYL

</li>
           <li><strong>1962 - </strong>Leaves the country for military training and to garner support for the ANC</li>
           <li><strong>1982 - </strong>	
Mandela, Sisulu, Raymond Mhlaba and Andrew Mlangeni and later Ahmed Kathrada are sent to Pollsmoor Prison</li>
           <li><strong>1990 - </strong>ANC is unbanned</li>
           <li><strong>1995 - </strong>Establishes the Nelson Mandela Children's Fund</li>
           <li><strong>1999 - </strong>Steps down after one term as President, establishes the Nelson Mandela Foundation

</li>
           <li><strong>2001 - </strong>Diagnosed with prostate cancer

</li>
           <li><strong>2004 - </strong>Announces that he will be stepping down from public life

</li>
           <li><strong>2008 - </strong>Asks future generations to continue the fight for social justice
</li>
           <li><strong>2010 - </strong>Formally presented with the Fifa World Cup trophy before it embarks on a tour of South Africa

</li>
           <li><strong>2011 - </strong>Admitted to hospital in Johannesburg. Discharged after two nights

</li>
           <li><strong>2013 - </strong>Spends New Year’s Day with members of his family in Johannesburg

</li>
           <li><strong>2013 - </strong>Death in the same year  5 december 2013 ...95 years old</li>
          
     </ul>    
    <blockquote>
    "I have fought against white domination, and I have fought against black domination. I have cherished the ideal of a democratic and free society in which all persons live together in harmony and with equal opportunities. It is an ideal which I hope to live for and to achieve. But if needs be, it is an ideal for which I am prepared to die."
    </blockquote>
    
    <h3>If you have time, you should read more about this incredible human being on his <a href="https://www.nelsonmandela.org/">Page</a>.</h2>
          </div>
        </div>
      </div>
  </div>
    </div>
    <hr>
    <p class="text-center">Written and coded by Lucian Cati.</p>
              
            
!

CSS

              
                body{
  margin-top:30px;
}
.person {
  color:red;
}
              
            
!

JS

              
                
              
            
!
999px

Console