cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

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.

            
              <!-- This was the first project I ever built with HTML and CSS. As a result, it lacks polish, and the code is quite messy. Future projects will bring improvements. (Project completed in December 2016) -->


<style>
  h1 {font-family: Verdana, Helvetica, Times New Roman, Arial;}
  
  h2 {font-family: Verdana, Helvetica, Times New Roman, Arial;}
  
  h3 {font-family: Verdana, Helvetica, Times New Roman, Arial; font-color="white";}
  
  p {font-size: 15px; font-family: Verdana, Helvetica, Times New Roman, Arial;}
  
  .thin-black-border {
    border-color:black;
    border-width: .5px;
    border-style: solid;
    border radius:5px;
  }
</style>
<!--- HTML Styling Above This Line -->


<h1 style= "text-align:center;"> Michael Jackson </h1>
<h2 style="text-align:center;"> The King of Pop </h2>
<figure>
<img class="img-responsive thin-black-border" src="http://lakerholicz.com/wp-content/uploads/2014/02/michael-jackson.jpg" style="display: block; margin-left: auto; margin-right: auto;" alt="Classic Michael Jackson"> <figcaption style= "text-align:center;"> Michael Jackson during the Thriller Era <a href= "http://lakerholicz.com/bryant-nike-release-michael-jackson-inspired-kobe-9-shoe/2014/02/09"> (image source) </a> </figcaption> </figure> 
<p style= "text-align:center;"> <b> MJ was arguably the greatest entertainer our world has ever seen. He accomplished a seemingly endless amount of things during his life. </b> </p>

<div class="container">
  <div class="timeline">
    <h2> 1950s </h2>
    <ul>
       <h3> 1958 </h3> <li> <p> Michael was born.</p> </li> </ul>
    <h2> 1960s </h2> <ul> <h3> 1963 </h3> <li> <p>  Michael begins singing with the Jackson 5.</p> </li> </ul>
    <ul>    <h3> 1969 </h3> <li> <p> Jackson performs on the Ed Sullivan Show.</p>
      </li> </ul>
    <h2> 1970s </h2>
    <ul> <h3> 1972 </h3>
      <li> <p> Jackson has his first solo #1 with the song Ben. </p> </li> </ul> 
    <ul> <h3> 1979 </h3> <li> <p> Off the Wall, the album that catapaults Jackson to superstardom is released. </p> </li> </ul>
      <h2> 1980s </h2>
    <ul> <h3> 1982 </h3> <li> <p> MJ releases Thriller - the most popular album of all time. </p> </li> </ul>
    <ul> <h3> 1983 </h3> <li> <p> Michael performs his signature moonwalk for the first time. </p> </li> </ul>
    <ul> <h3> 1987 </h3> <li> <p> Jackson releases Bad. </p> </li> </ul>
    <h2> 1990s </h2> 
     <ul> <h3> 1991 </h3> <li> <p> Michael releases Dangerous. </p> </li> </ul>
     <ul> <h3> 1995 </h3> <li> <p> Michael releases HIStory. </p> </li> </ul>
     <ul> <h3> 1997 </h3> <li> <p> Jackson has his first child prince. </p> </li> </ul>
    <h2> 2000s </h2>
     <ul> <h3> 2001 </h3> <li> <p> MJ releases Invincible. </p> </li> </ul>
    <ul> <h3> 2008 </h3> <li> <p> MJ releases Thriller 25. </p> </li> </ul>
    <ul> <h3> 2009 </h3> <li> <p> Jackson dies of cardiac arrest. </p> </li> </ul>
<body>
   <img style= width:85%;
 src="https://media.giphy.com/media/107Cji2Kk4Hrry/giphy.gif">
    </body>
    <p align="center">
       <a href= "https://media.giphy.com/media/107Cji2Kk4Hrry/giphy.gif"> (gif source) </a> </p>
    <h3 class="learn-more-line" id="learn-more"> Want to learn more about Michael Jackson? You can read Michael Jackson's <a href="https://en.wikipedia.org/wiki/Michael_Jackson">Wikipedia page,</a> or learn Michael's moonwalk and other dance moves <a href="https://www.youtube.com/watch?v=YVUHGjiP5ro"> here.</a>
      </h3>
 
    
            
          
!
            
              $gray: #$$$$$$

.container 
{padding:1em;}

.timeline {position:relative;
overflow:auto;}

html, body {background-color:#b3daff; height:100%; margin:0; padding:0;}
ul {background-color:#000096;
    padding: 0px;}
li {background-color:#8c8c8c;
    padding: .5px; color:black}
h3 {background-color:#000096;
    padding: 1px; color:white}
img{padding:0; display:block; margin:0 auto; max-height:100%; max-width: 100% }

#learn-more {background-color:#b3daff; color:black; text-align:left; padding:.2px;}

.learn-more-line {line-height:35px; font-size:27px;}
            
          
!
999px
Loading ..................

Console