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

              
                
<div class="container">
  <div class="row">
    <div class="col-md-12">
      <div class="jumbotron">
        <div class="text-center">
          <h1>Lionel Messi</h1>
          <h2><em>The best footballer of his generation</em></h2>
        </div>
        <div class="thumbnail">
          <img class="img-responsive center-block" src="http://a.espncdn.com/combiner/i/?img=/media/motion/ESPNi/2016/0111/int_160111_Is_Messi_the_best_to_ever_play_the_game/int_160111_Is_Messi_the_best_to_ever_play_the_game.jpg&w=738&site=espnfc" alt="Lionel Messi posing with four Ballon d'Or trophies" width="800">
        <p class="caption text-center"><small>Messi at Camp Nou stadium posing with his 4 Ballon d'Or trophies</small></p>
      </div>
      <div class="row">
        <div class="col-md-8 col-md-offset-2">
          <h3>Here's a time line of Lionel Messi's life:</h3>
            <ul>
              <li><strong>1987</strong> - Born in Rosario, Argentina</li>
              <li><strong>1993</strong> - Joined Newell's Old Boys football club in Argentina</li>
              <li><strong>1997</strong> - Diagnosed with growth hormone deficiency</li>
              <li><strong>2000</strong> - Messi family sought to arrange a trial with Barcelona FC</li>
              <li><strong>2001</strong> - Messi family relocated to Barcelona</li>
              <li><strong>2005</strong> - Messi signed his first professional contract with Barcelona FC</li>
              <li><strong>2007</strong> - Became a regular starter for Barcelona Fc</li>
              <li><strong>2008</strong> - Won Olympic gold medal with Argentina national football team</li>
              <li><strong>2009</strong> - Was awarded the Fifa Ballon d'Or (best player in the world)</li>
              <li><strong>2009</strong> - Named Fifa world player of the year</li>
              <li><strong>2010-2011</strong> - Lead his team to win the Treble(win three major competitions in one season)</li>
              <li><strong>2011</strong> - Named UEFA Best player in Europe</li>
              <li><strong>2015</strong> - Won his 5th and record breaking Fifa Ballon d'Or award</li>
              <li><strong>2016</strong> - Copa America Top assist provider</li>
            </ul>
            <blockquote cite="https://en.wikipedia.org/wiki/Lionel_Messi">
              "I feel sorry for those who want to compete for Messi's throne — it's impossible, this kid is unique."<br>
              <footer><em>Pep Guardiola after Messi became Barcelona's all-time top scorer at age 24 in March 2012</em></footer>
            </blockquote>
            <p>If you have time, you should read more about this amazing soccer player on his <a href="https://en.wikipedia.org/wiki/Lionel_Messi" target="_blank">Wikipedia entry</a>.</p>
        </div>
      </div>
     </div>
    </div>
    <div class="row">
      <div class="col-md-12">
        <hr>
      </div>
    </div>
    <p class="text-center">Written and coded by <a href="https://codepen.io/kaybee1jam/#">Kerri-Ann Bates</a></p>
  </div>
</div>
              
            
!

CSS

              
                body {
  margin-top: 60px;
  padding: 0;
}


              
            
!

JS

              
                
              
            
!
999px

Console