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 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-fluid">
  <header class="header">
    <h1 class="header"> Sandy Koufax </h1>
    <h5> Brooklyn Dodgers Legend </h5>
  </header>

  <body>

    <img class="center-block img-responsive" src="http://www.tabletmag.com/wp-content/files_mf/koufax62059.jpg" alt="Sandy after his fourth no hitter"> </img>

    <div class="career">
      <h4> Baseball Career</h4>

      <p>
        Sandy broke into the major leagues with the Brooklyn Dodgers in 1955, aged just 19 years old. Although his first few years in the big leagues were fairly average, Sandy broke out in 1961, after the Dodgers had already moved to Los Angeles. </p>

      <p>
        Though his first six seasons were average, the next six seasons were among the most dominant ever seen in baseball. Over next six seasons, Sandy was an all-star in each season, won the Cy Young award twice and won the MVP award once. </p>

      <p>
        Among active players, Sandy's 2,396 strikeouts ranks in the top 10 all time. Additionally, he was the first play to ever throw four no-hitters. </p>

      <p> To learn more about Sandy, check out his <a href="http://baseballhall.org/hof/koufax-sandy" target="_blank"> Hall of Fame </a> page </p>
    </div>

    <div class="stats well">
      <h4> Career Stats </h4>

      <script type="text/javascript" src="http://widgets.sports-reference.com/wg.fcgi?css=1&site=br&url=%2Fplayers%2Fk%2Fkoufasa01.shtml&div=div_pitching_standard"></script>
    </div>
  </body>
</div>

              
            
!

CSS

              
                .header {
  text-align: center;
  color: white;
  background-color: blue;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-top: 5px;
}

.center-block {
  padding-top: 10px;

}

.career {
  margin: 0px 10px 0px 10px;
}

.stats {
  margin-left: 10px;
  margin-right: 10px;
  text-align: center;
}
              
            
!

JS

              
                 
              
            
!
999px

Console