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

              
                <html>
  <head>
    <link href="xx.css" rel="stylesheets" type="text/css"> />
  </head>
  <header>
    <div class="gym">
    <div class="row">
      <h1 class="green">Nelson Rolihlahla Mandela </h1>
  </div>
    <img class="img" height="300" width="1025"  src="https://aos.iacpublishinglabs.com/question/aq/700px-394px/what-did-nelson-mandela-fight-for_4e148e13-f2dc-4fca-b2c4-92cecb6577aa.jpg?domain=cx.aos.ask.com"/>
    <div class="jamestown">
    <div class="yomama">
      
    <p class="hey">Nelson Rolihlahla Mandela was born in the village of Mvezo in Umtata, South Africa on July 18th 1918. Mandela is best known for his anti-apartheid activities which led to his lengthy incarceration. Upon his release in 1990 he continued his political activities and became president of South Africa in 1994.</p>
      
      
    <h2 class="car">Early life and education</h2>
      
    <p class="hey">Mandela grew up with his two sisters in his mother’s village, Kraal. His mother enrolled him into a Methodist school at the age of seven. He would later be baptized and given the surname Nelson. Much of Mandela`s early life was dominated by the traditional customs of the Thembu people. At the age of nine he lost his father; he would soon later be entrusted by his mother to Chief Jongintaba Dalindyebo. After his secondary education Mandela attended the University of Fort Hare where he received a Bachelor of Arts degree. He would later go on to study law at the University of the Witwatersrand. Nelson``. Much of Mandela`s early life was dominated by the traditional customs of the Thembu people. At the age of nine he lost his father; he would soon later be entrusted by his mother to Chief Jongintaba Dalindyebo. After his secondary education Mandela attended the University of Fort Hare where he received a Bachelor of Arts degree. He would later go on to study law at the University of the Witwatersrand.</p>
    <h3 class="car">Arrest and incarceration</h3>
  <p class="hey">In all Mandela spent twenty-eight years of his life in prison. In 1962 he was arrested and charged with conspiring overthrow the South African government. His incarceration was initially on Robben Island, and later in Pollsmoor Prison and Victor Verster Prison.</p>
  <h4 class="car">Release and presidency</h4>
  <p class="hey">Feb 11, 1990, was the day the South African President Frederik Willem de Klerk freed Nelson Mandela from prison for his anti-apartheid activities. Shortly after his release Mandela joined negotiations with the Nationalist President F. W. de Klerk to abolish apartheid and establishing multiracial elections. During the 1994 election he lead the ANC to victory and became South Africa's first black president.</p>
  <h5 class="car">Major Accomplisments</h5>
      <div class="crab hey">
      <ul class=>
        <li>Dedicated his life to abolishing apartheid</li>
        <li>Establishing multiracial government.</li>
        <li>Became South Africa's first black president</li>
        <li>Established the Nelson Mandela Foundation</li>
        <li>Introduced economic and social programs to improve the lives of South Africans.</li>
      </ul>
      </div>
      <div class="yo">
       <p>"He achieved more than could be expected of any man and today he’s gone home. We've lost one of the most influential, courageous and profoundly good human beings that any of us will ever share time with on this earth. He no longer belongs to us. He belongs to the ages.” - Barrack Hussein Obama</p>
      </div>
      <a class="hey" href="https://en.wikipedia.org/wiki/Nelson_Mandela">For more information of Nelson Mandela please read on his life and accomplishments.</a>
      <div> 
        <p class="hey">Written and Coded by Ellias Sawmali</p>
      </div>
      
      
  </div>
    </div>
    </div>
    
  </header>
</html>

              
            
!

CSS

              
                .green{
  font-family: 'Tangerine', serif;
  text-align: center;
  color: yellow;
}



.yomama {
  font-family: 'Tangerine', serif;
  text-align: center;
}

.hey{ 
  text-align: center;
  font-family:"Times New Roman", Times, serif;
    font-size: 18px;
 
  
    
}

.car{  text-align: center;
  font-family:"Times New Roman", Times, serif;
    font-size: 200%;
}


.jamestown {
  
 
  background-color: white;
  margin-left: 180px;
  margin-right: 180px;
  
}
.gym {
  
  background-image: url("http://buzzsouthafrica.com/wp-content/uploads/South-African-Flag.jpg");
}

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

.crab{
 
  text-align: left !important;
  
  
  
}

.yo{ 
  text-align: center;
  font-family:"Times New Roman", Times, serif;
    font-size: 25px;
  font-weight: bold;
  border-left: 7px solid;
  border-color: orange;
}







              
            
!

JS

              
                
              
            
!
999px

Console