Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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

Auto Save

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 text-center">
  <div id="header">
    <h1 id="rocky">Rocky Marciano</h1>
      <h4 id="nickName">"The Brockton Blockbuster"</h4>
  </div>
  <div class=headerImg>
    <img class="img-responsive img-thumbnail"  src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/f2/Rocco_Francis_Marchegiano.jpg/250px-Rocco_Francis_Marchegiano.jpg" alt="Rocky Marciano posing with knee up">
    <p><em>"To win takes a complete commitment of mind and body.<br> When you can't make that commitment, they don't call you a champion anymore." ~ Rocky Marciano</em></p>
  </div>
  <div class="timeline">
    <p>Here's a career timeline of Rocky:</p>
  </div>
  <ul>
    <li>Born Rocco Francis Marchegiano, 9/1/23 in Brockton, Mass.</li>
    <li>Fought first pro bout as Rocky Marsh, 3/17/47, in Holyoke, Mass.
    </li>
    <li>Returned to amateur ranks after third-round KO of Lee Epperson.</li>
    <li>Billed as Rocco (Socko) Marchegiano, lost to Coley Wallace in<br>preliminary round of Tournament of Champions Golden Gloves, 3/1/48.</li>
    <li>Re-started professional career, 7/12/48, in Providence, R.I.</li>
    <li>Won first 16 pro bouts by knockout.</li>
    <li>Ended Joe Louis' career with eighth-round knockout, 10/26/51.</li>
    <li>Won heavyweight title with 13th-round KO of Jersey Joe Walcott in Philadelphia, 9/23/52.</li>
  
  <li>Ended Walcott's career with first-round knockout<br> in rematch in first defense of title, 5/15/53.</li>
  <li>Made successful title defenses against: Roland LaStarza, KO 11, 9/24/53;<br>
Ezzard Charles, W 15, 6/17/54, and KO 8, 9/17/54; Don Cockell, KO 9, 5/16/55;<br> and Archie Moore, KO 9, 9/21/55.</li>
  <li>Retired as undefeated champion, 4/27/56.</li>
  <li>Killed in crash of private plane, 8/31/69, outside Des Moines, Iowa.</li>
  </ul>

  <div class="facts">
    <p>Fun Facts:</p>
  </div>
<ul class="listFacts">
  <li>Shortest reach of all heavyweight champions -- only 68 inches.</li>
  <li>Fought an average of fewer than five rounds per bout.</li>
  <li>Only six bouts were not won by knockout<br> -- two of those opponents, LaStarza and Charles, were knocked out in rematches.</li>
  <li>Elected to the International Boxing Hall of Fame, 1990.</li>
  <li>Complete record: 49 bouts, 49 wins, 0 losses, 43 knockouts.</li>
</ul>

<img class= "img-responsive img-thumbnail" src="http://a.espncdn.com/photo/2010/0717/box_g_marciano1x_576.jpg" alt="rocky connecting with a punch">

<p class="info"><a class="link" href="https://en.wikipedia.org/wiki/Rocky_Marciano" target="_blank">Check out Rocky Marciano's Wikipedia Page!</a>
  
  <footer>
    <h6>2017 &#169; <a href="https://github.com/Dylan-Jannetty" target="_blank">Dylan Jannetty</a> || Free Code Camp Project</h6>


 


</div>





  








              
            
!

CSS

              
                @import
  url('https://fonts.googleapis.com/css?family=Cinzel');

body{
  background-image:  linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("http://images.mentalfloss.com/sites/default/files/istock_000044838014_small.jpg?resize=1100x740&fref=gc&dti=321090721625587");
  background-size: cover;
  background-position: center 0;
  color:#FFF;
  
}

#header{
  padding: 0px 0px 30px 0px;
}

#rocky{
  font-family: Cinzel, Serif;
  padding: 40px 0px 0px 0px;
  
}

#nickName{
  font-family: Cursive;
  
}


.timeline{
  padding: 20px 0px 0px 0px;
  text-decoration: underline;
  font-size: 20px;
  color: gold;
}

ul {
   padding-left: 0;
   text-align: left;
   margin-left: 350px;
   margin-right: 10px;  
}

ul li {
  list-style-position: inside;
}

.facts{
  text-decoration: underline;
  color: gold;
  font-size: 20px;
}


.info{
  padding: 60px;
}

.link{
  text-decoration: underline;
}

footer{
  color: #FFF;
}

              
            
!

JS

              
                
              
            
!
999px

Console