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

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

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

              
                <link href="https://fonts.googleapis.com/css?family=Atomic Age" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Oswald" rel="stylesheet" type="text/css">
<div class="container-fluid">
  <h1 class="text-center blue-background">Aleksandr Karelin</h1>
<div class="red-box">
  <img class="hero-image img-responsive center-block" src="http://www.fighterinterviews.com/img/media/l_lars-nyberg-bilden-pa-alexander-karelin-1988-utsags-till-arets-sportbild-foto-lars-nyberg-kopia-1510068965.jpg" class="img-responsive" alt="Aleksandr Karelin Wrestling">
  </div>
<ul class="text-box">
  <li>Born a monsterous 12 lb baby, September 19, 1967.</li>
  <li>Began wrestling at age 14, in 1981.</li>
  <li>Known as "The Experiment" due to his freakish speed and strength. Though while naturally strong, he explained the misunderstanding of his prowess as "I train every day of my life as they have never trained a day in theirs".</li>
  <li>He is famous for his signature Karelin Lift, which required incredible strength and was uncommon of larger wrestlers.</li>
  <li>His Greco-Roman Wrestling achivements include:</li>
  <ul>
    <li>3 Olympic Gold Medals</li>
    <li>9 World Championships</li>
    <li>12 European Championships</li>
  </ul>
  <li>His international record is a staggering 33-1. Only being defeated in his final Olympic championship match.</li>
  <li>Outside of Wrestling</li>
  <ul>
    <li>He holds a PhD in Sports Pedogogy as well as a law degree.</li>
    <li>And was a member of the Russian State Duma.</li>
  </ul>
  <li>
 <p style="color: #ff0000">To learn more about Aleksandr Karelin
   <a href='https://en.wikipedia.org/wiki/Aleksandr_Karelin'> click here
   </a>
  </p>
  </li>
</ul>
</div>
              
            
!

CSS

              
                .blue-background {
  background-color: #0000ff;
}
.red-box {
  background-color: #ff0000;
}
h1 {
  color: #ffd700;
  font-size: 120px;
  font-family: Atomic Age;
}
.hero-image {
  width: 1000px;
}
.text-box {
  background-color: gold;
  padding-top: 50px;
  padding-right: 75px;
  padding-bottom: 75px;
  padding-left: 75px;
  margin-top: 50px;
  margin-right: 500px;
  margin-bottom: 100px;
  margin-left: 500px;
}
ul {
  font-size: 24px;
  font-family: Oswald;
}
              
            
!

JS

              
                
              
            
!
999px

Console