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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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

              
                <div class="container">
  <div class="jumbotron">
    <div class="row">
      <div class="col-xs-12">
        <h1 class="text-center">
          Nikola Tesla
        </h1>
      </div>
    </div>
    <div class="row row-eq-height">
      <div class="col-xs-12 col-md-6">
        <img src="https://upload.wikimedia.org/wikipedia/commons/5/56/Tesla3.jpg" alt="Nikola Tesla" class="img-responsive center-block"/>
      </div>
      <div class="col-xs-12 col-md-6">
        <div class="heading2">
          <h2 class="text-center">The man behind the magnetic field unit who invented the twentieth century<br /></h2>
        </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 timeline">
        <h3 class="text-center">Time line of Nikola Tesla</h3>
        <div class="row">
          <div class="col-xs-4">
            <strong>Date</strong>
          </div>
          <div class="col-xs-8">
            <strong>Event</strong>
          </div>
        </div>
        <div class="row">
          <hr />
          <div class="col-xs-4">
            July 10, 1856	
          </div>
          <div class="col-xs-8">
            Nikola Tesla was born in Smiljan, then part of the Austro-Hungarian Empire. His parents were ethnic Serbians. His father was an Orthodox Priest, and he credited his mother for his inventiveness.
          </div>
        </div>
        <div class="row">
          <hr />
          <div class="col-xs-4">
            1875
          </div>
          <div class="col-xs-8">
            In 1875, Tesla began to study engineering at the Austrian Polytechnic in Graz, Austria. He claimed to have graduated, but the institution disagrees.
          </div>
        </div>
        <div class="row">
          <hr />
          <div class="col-xs-4">
            1882
          </div>
          <div class="col-xs-8">
            In 1882, he went to work for Continental Edison in Paris. He was attempting to improve on electrical equipment sent from the United States.
          </div>
        </div>
        <div class="row">
          <hr />
          <div class="col-xs-4">
            1882
          </div>
          <div class="col-xs-8">
            Working independently, Tesla identified the rotating magnetic induction field principle. This is used today in alternators.
          </div>
        </div>
        <div class="row">
          <hr />
          <div class="col-xs-4">
            1884
          </div>
          <div class="col-xs-8">
            Tesla moved to the United States in 1884, immediately approaching Thomas Edison with a letter of introduction. According to Tesla, he was offered 50,000 dollars to solve a problem, but Edison never paid.
          </div>
        </div>
        <div class="row">
          <hr />
          <div class="col-xs-4">
            1885
          </div>
          <div class="col-xs-8">
            After Edison refused to pay, Tesla quit working for Edison, with the plan and intention of starting his own electrical company.
          </div>
        </div>
        <div class="row">
          <hr />
          <div class="col-xs-4">
            1886
          </div>
          <div class="col-xs-8">
            Tesla founded the Tesla Electric Light and Manufacturing Company in Rahway, New Jersey. He invented and marketed an arc lamp; however, he earned relatively little off of his investment.
          </div>
        </div>
        <div class="row">
          <hr />
          <div class="col-xs-4">
            1887
          </div>
          <div class="col-xs-8">
            The War of Currents began in 1887. Direct current, invented and supported by Edison, was in direct competition with Tesla's alternating current.
          </div>
        </div>
        <div class="row">
          <hr />
          <div class="col-xs-4">
            1891
          </div>
          <div class="col-xs-8">
            In 1891, Tesla patented the Tesla Coil. The Tesla Coil is a resonant transformer circuit that produced a high voltage, low current and high frequency alternating current electricity.
          </div>
        </div>
        <div class="row">
          <hr />
          <div class="col-xs-4">
            1891
          </div>
          <div class="col-xs-8">
            With the support of the Westinghouse Company, Tesla's alternating current powered the World's Columbian Exhibition. Tesla had offered a lower cost electrical solution.
          </div>
        </div>
        <div class="row">
          <hr />
          <div class="col-xs-4">
            1901
          </div>
          <div class="col-xs-8">
            In 1901, construction began on the Wardenclyffe Tower. Tesla believed that he could transmit electrical energy over long distances wirelessly, and the tower would illustrate that. The project was never fully completed.
          </div>
        </div>
        <div class="row">
          <hr />
          <div class="col-xs-4">
            August 4, 1915
          </div>
          <div class="col-xs-8">
            On August 4, 1915, Tesla filed suit against Guglielmo Marconi. Marconi is typically credited with radio transmission; however, Tesla accomplished this before Marconi.
          </div>
        </div>
        <div class="row">
          <hr />
          <div class="col-xs-4">
            1934
          </div>
          <div class="col-xs-8">
            In 1934, the New York Times published Tesla's particle beam research. While he was not financially successful, he continued to be a relatively prominent voice in the scientific community.
          </div>
        </div>
        <div class="row">
          <hr />
          <div class="col-xs-4">
            January 7, 1943
          </div>
          <div class="col-xs-8">
            On January 7, 1943, as World War II raged, Nikola Tesla died in the hotel he made his home. Upon his death, the U.S. government immediately seized his papers and research.
          </div>
        </div>
        <div class="row">
          <hr />
          <div class="col-xs-4">
            1960
          </div>
          <div class="col-xs-8">
            In 1960, the scientific community recognized Tesla's achievements by defining a Tesla as a unit of measurement. A Tesla is a unit of magnetic field B.
          </div>
        </div>
      </div>
    </div>
    <div class="row">
      <div class="col-xs-12 col-md-10 col-md-offset-1">
        <div class="thumbnail margin-top-10">
          <img src="http://www.activistpost.com/wp-content/uploads/2012/01/Nikola-Tesla-1024x576.jpg" alt="Many of Nikola's ideas were stolen..." class="img-responsive center-block" />
          <div class="caption text-center">
            Image referenced from http://www.activistpost.com/wp-content/uploads/2012/01/Nikola-Tesla-1024x576.jpg
          </div>
        </div>
      </div>
    </div>
    <div class="row">
      <div class="col-xs-12 col-md-10 col-md-offset-1">
        <h3 class="text-center">There is a lot of awsome stuff to research about Nikola Tesla. A good entry point is the Nikola Tesla's <a href="hhttps://en.wikipedia.org/wiki/Nikola_Tesla" target="_blank">Wikipedia entry</a>.</h3>
      </div>
    </div>
  </div>
</div>

              
            
!

CSS

              
                @media (min-width: 768px) {
  .row-eq-height {
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
  }
  .heading2 {
    margin-top: -25px;
  }
}

@media (min-width: 992px) {
  
}

@media (min-width: 1200px) {
  
}

.margin-top-10 {
  margin-top: 10px;
}
.row-eq-height {
  display: block;
}

.heading2 {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

hr {
  margin: 5px;
  padding: 5px;
  border-top: 1px solid #808080;
}

.timeline {
  border: 1px solid #808080;
  border-radius: 10px;
  margin-top: 20px;
}
              
            
!

JS

              
                
              
            
!
999px

Console