css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <div class="container-fluid" id="main-background">
  <div class="main">
    <div class="row">
      <div id="tittle" class="col-lg-6">
        <h1 id="tittle1"><b>Nelson Mandela</b></h1>
        <h2><em>The heart of Africa.</em></h2>
      </div>
      <div id="frontImage" class="col-lg-6 move-photo" >
        <img class="smaller-image border" src="http://borderperiodismo.com/wp-content/uploads/2016/08/mandela.jpg" alt="Nelson mandela fighting apartheid">
    </div>
    </div>
    <div class="row">
      <div class="col-lg-5 list1">
        <ul>
          <br></br>
          <li><strong>1918 </strong>Born in Mvezo, Umtata.</li>
          <br>
          <li><strong>1939-1941 </strong>After his first year at the University College of Fort Hare, he is expelled for the inner politics escape from an arranged marriage. </li>
          <br>
          <li><strong>1942 </strong>Completes BA through the University of South Africa (UNISA).</li>
          <br>
          <li><strong>1944 </strong>Co-founds the ANC Youth League (ANCYL).</li>
          <br>
          <li><strong>1948-1951 </strong>Elected national secretary of the ANCYL and later is elected President of the ANCYL.</li>
          <br>
          <li><strong>1952 </strong>Mandela and others are arrested for violating the Supression of Communism Act. </li>
          <br>
          <li><strong>1962 </strong>Leaves the country in secret for military training and to garner support of the ANC, wich was banned.</li>
          <br>        
        </ul>
      </div>
      <div class="col-lg-5 list2">
        <ul>
          <br>
          <br>
          <br>
          <br>
          <li><strong>1963</strong>Sentenced to five years in prison and sent to Robben Islandfor for incitement and leaving the country without a               passport, later sentenced to life.</li>
          <br>
          <li><strong>1990 </strong>ANC is unbanned, Mandela is set free and elected president of ANC.</li>
          <br>
          <li><strong>1993 </strong>Awarded the Nolbel Price of Peace with President FW the Klerk</li>
          <br>
          <li><strong>1994 </strong>Mandela votes for the first time and is elected as a first president of a democratic South Africa</li>
          <br>
          <li><strong>2001 </strong>Diagnosed with prostate cancer and from this point his health will decline.</li>
          <br>
          <li><strong>2013 </strong>After being more than a year admitted and discharged from the hospital, he dies of a pulmonar infection</li>
          <br>
        </ul>  
      </div>
    </div>
    <div class="quote">
      <h5>“The greatest glory in living lies not in never failing, but in raising every time we fall”.</h5>
      <h4><cite>Nelson Mandela "Madiba".</cite></h4>
    </div>
    <div class="info">
      <h3>You can read more about Mandela in  <a href="https://en.wikipedia.org/wiki/Nelson_Mandela" target="_blank">Wikipedia entry</a>.</h3>
    </div>
  </div>
  <div class="text-center credits">
    <p>Written and coded by <a href="https://www.freecodecamp.com/gabrira" target="_blank">Gabriel Rabello</a></p>
  </div>
</div>
            
          
!
            
                #main-background{
    background-color: #0F2538;
  }
  .main{
    background-color: #959DA4;
    margin: 30px 20px 50px 20px;
  }
  #tittle{
    color: black;
    font-family: Courier;
    padding-top: 140px;
    padding-left: 100px;
    text-align: left;
  }
.smaller-image{
    width: 500px;
  }
  .border{
    border-color: white;
    border-width: 5px;
    border-style: solid;
  }
  #tittle1{
    font-size: 56px;
    text-aling: left;
  }
  .move-photo{
  position: absolute; 
  left:770px;
  top:70px;  
}
  .list1{
    margin-left: 60px;
    font-size: 16px;
  }
  .list2{
    margin-left: 40px;
    font-size: 16px;
    margin-bottom: 20px;
  }
  h5{
    font-size: 40px;
    text-align: center;
    font-family: "Courier New";
  }
  h4{
    text-align: right;
    padding: 20px;
    padding-bottom: 35px;
  }
  h3{
    text-align: center;
    font-size: 16px;
  }
  .info{
    padding-bottom:20px;
  }
  .credits{
    padding:15px;
    font-color: white;
  }
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console