cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - Activehtmlicon-personicon-teamoctocatpop-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.

            
              <link href='https://fonts.googleapis.com/css?family=Special+Elite|Raleway' rel='stylesheet' type='text/css'>
<section class='bio'>
  <h1 class='center'>Leonhard Euler</h1>
  <h2 class='center'>Mathematician, Physicist, Astronomer</h2>

  <img src='https://upload.wikimedia.org/wikipedia/commons/thumb/d/d7/Leonhard_Euler.jpg/220px-Leonhard_Euler.jpg'/>
  <h3 class='center'>(1707- 1783)</h3>
  <p>Leonhard Euler was a well established Swiss mathematician, physicist, astronomer, logician and engineer who made major discoveries in the field of mathematics.</p>
  <p class='center'><a href='https://en.wikipedia.org/wiki/List_of_things_named_after_Leonhard_Euler'>Check out all the things named after Euler</a></p>
  <blockquote>To those who ask what the infinitely small quantity in mathematics is, we answer that it is actually zero. Hence there are not so many mysteries hidden in this concept as they are usually believed to be.</blockquote>
  <p>Here is a timeline of his life</p>
  <ul>
    <li><strong>1707</strong> - Born</li>
    <li><strong>1720</strong> - Enters University of Basel</li>
    <li><strong>1723</strong> - Completes Master's degree in philosophy</li>
    <li><strong>1726</strong> - Publishes <i>Constructio linearum isochronarum in media quocunque resistente</i>, his first paper</li>
    <li><strong>1730</strong> - Appointed professor of physics at St. Petersburg Academy</li>
    <li><strong>1734</strong> - Marries Katharina Gsell</li>
    <li><strong>1736</strong> - Publishes <i>Mechanica</i>, his first book</li>
    <li><strong>1748</strong> - Publishes <i>Introductio in analysin infinitorum</i></li>
    <li><strong>1755</strong> - Publishes <i>Institutiones calculi differentialis</i></li>
    <li><strong>1768</strong> - Publishes <i>Institutiones calculi integralis</i></li>
      <li><strong>1772</strong> - Publishes <i>Theoria Motuum Lunae</i></li>
    <li><strong>1783</strong> - Death</li>
  </ul>
  <p class='center'>Check out his bio on <a href='https://en.wikipedia.org/wiki/Leonhard_Euler'>Wikipedia</a></p>
</section>
            
          
!
            
              body {
  margin: 0;
  background: transparent url("http://subtlepatterns2015.subtlepatterns.netdna-cdn.com/patterns/old_mathematics.png") repeat scroll 0% 0%;
}
.bio {
  width: 50vw;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem;
  font-family: Raleway;
  font-size: 1.16rem;
  background: white;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, .2)
}
.bio h1 {
  font-family: 'Special Elite';
  font-size: 2rem;
  margin-bottom: -.5rem;
}
.bio h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.bio h3 {
  font-family: 'Special Elite';
}
.bio img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}
.bio blockquote {
  font-size: 1.5rem;
  line-height: 1.7;
}
.bio blockquote::before, .bio blockquote::after {
  content: '”';
  font-size: 2rem;
}
.bio li {
  line-height: 1.5;
  margin-bottom: 1rem;
}
.bio a {
  color: #6666ff;
}
.center {
  text-align: center;
}
@media (max-width: 600px ) {
  .bio {
    width: 75vw;
  }
}
            
          
!
999px
Close

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.

Go PRO

Loading ..................

Console