123

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.

            
              <link href="https://fonts.googleapis.com/css?family=Merriweather" rel="stylesheet" type="text/css">
<body>
    <div id="middle">
      <h1 class="text-center"><b>Galileo Galilei</b></h1>
      <div id="photogroup">
      <img class="img img-circle" src="https://ichef.bbci.co.uk/news/560/media/images/66945000/jpg/_66945195_galileo_getty624.jpg" id="image1">
      <img class="img img-circle "src="https://upload.wikimedia.org/wikipedia/commons/d/d4/Justus_Sustermans_-_Portrait_of_Galileo_Galilei,_1636.jpg"         id="image2">

      <img class="img img-circle" src="http://cdn.history.com/sites/2/2014/02/galileo-AB.jpeg" id="image3">
      </div>
  <h4 class="text-center">Timeline</h4>
    <table class="table table-reponsive" id="timeline">
      <tr>
        <td>Born</td>
        <td>Becomes mathmatics teacher at the University of Pisa</td>
        <td>Creates Copernican theory</td>
        <td>Gets arrested for theories against the church</td>
        <td>Gets out of jail, but gets house arrest for rest of life</td>
        <td>Died</td>
      </tr>
      <tr>
        <td>1564</td>
        <td>1589</td>
        <td>1595</td>
        <td>1633</td>
        <td>1633</td>
        <td>1642</td>
      </tr>
    </table>
      <h3 class="padding">Short Summary</h3>
      <p  id="summary" class="padding">Galileo Galilei was a genius for his time. He started out in a poor family. Luckily, his family recognized how smart he was and invested in his education. When he grew up he spent his time in mathematics and science. He is known for many accomplishments in revolutionizing math and science. He created the Copernican Theory in 1595. In this theory, the sun is in the middle of the solar system and not the Earth. This was a hated idea at the time because most thought of Earth as the center of the universe. Eventually, he gets jailed for his beliefs by the church. Though he had a tough life, he revolutionized the world.</p>
      <p id="quote">All truths are easy to understand once they are discovered; the point is to discover them.</p>
      
      <div id="galileo">
        <i>-Galileo Galilei</i>
      </div>
      
      <div id="footer">
        <p>Find out more about Galileo <a href="http://www.biographyonline.net/scientists/galileo.html" target=_blank>Here</a>
      </div>
      
      <div id="info">
        <p id="freecodecamp">Created for  
          <a href="https://www.freecodecamp.com" target=_blank><img src="http://www.i-programmer.info/images/stories/News/2016/April/B/freecodecamp_logo.jpg"></a></p>
        <p id="createdby">Created By Logan Sinclair on October 22, 2016.</p>
      </div>
</body>

            
          
!
            
              .padding{
  padding: 20px;
}
body{
  color: white;
   background-image: url("https://media.giphy.com/media/Fx5MDhcPIW7QY/giphy.gif");
  background-attachment: fixed;
  font-family: Merriweather;
}

table{
  overflow: auto;
  padding: 0 5% 0 5%;
  display: block;
  border: 0;
}
tr, td, th{
  text-align: center;
  padding: 10px;
  border: 2px solid black;
}
#middle{
  background-color: rgb(38, 38, 38);
  margin: 5px 10% 5px 10%;
  opacity: .8;
}
#photogroup{

}
#image1{
    width: 30%;
  height: 30%;
  margin: 0 .4% 0 .4%;
  animation-name: images;
  animation-duration: 2s;
  animation-iteration-count: 1;
  transition-timing-function: ease-out;
}
#image1:hover{
  transform: scale(1.5, 1.5);
}
#image2{
  width: 35%;
  height: 20%;
  margin: 0 .4% 0 .4%;
  animation-name: images;
  animation-duration: 2s;
  animation-iteration-count: 1;
   transition-timing-function: ease-out;
}
#image2:hover{
  transform: scale(1.5,1.5);
}
#image3{
    width: 30%;
  height: 20%;
  margin: 0 .4% 0 .4%;
  animation-name: images;
  animation-duration: 2s;
  animation-iteration-count: 1;
 transition-timing-function: ease-out;
}
#image3:hover{
  transform: scale(1.5,1.5);
}
#quote{
  font-size: 24px;
  padding: 20px 30% 30px 30%;
}
#galileo{
  text-align: right;
  font-size: 24px;
  margin: 0 20% 0 0;
  
}
#footer{
  background-color: black;
  text-align: center;
  font-size: 24px;
  border: 4px solid white;
  animation-name: a;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}
#createdby{
  text-align: right;
  display:inline-block;
  float: right;
}
a{
  color: green;
}
a:hover{
  color: green
}
#freecodecamp{
  display:inline-block;
  float: left;
}
#summary{
  font-size: 18px;
}
@keyframes a{
  
  50%{transform: scale(1.02, 1.02);}
}
@keyframes images{
  10%{transform: rotateY(180deg);}
  20%{transform: rotateY(0deg);}
    30%{transform: rotateY(180deg);}
  40%{transform: rotateY(0deg);}
    50%{transform: rotateY(180deg);}
  60%{transform: rotateY(0deg);}
      70%{transform: rotateY(180deg);}
  80%{transform: rotateY(0deg);}
      90%{transform: rotateY(180deg);}
  100%{transform: rotateY(0deg);}
}


            
          
!
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.

Console