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

              
                <head>
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet">
</head>
  
<body>
  <div class="container-fluid">
    <div class="well">
      <h1>Bruce Lee</h1>
      <h3>Actor, Movie Star, Martial Artist and Cultural Icon </h3>
  
  <img class="responsive" src="https://s-media-cache-ak0.pinimg.com/originals/e4/00/1d/e4001df351a281b36550bbc623eef63e.jpg" alt="Bruce Lee Photo">
      
  <p id="p1">
    Bruce Lee founded the martial art <i>Jeet         Kune Do</i> which he often referred to as         'the art of expressing the human body'
  </p>
    
    
  <p class="blocktext">
    <h4>
    Here's a timeline of Bruce Lee's life:
    </h4>
  
  <div class="container">
   <ul>
     <li><b>1940</b> - Born on November 27th in San Francisco's Chinatown</li>
     <li><b>1940</b> - Three months after Bruce Lee's birth, his family moves back to Hong Kong, where he would be raised until age 18</li>
     <li><b>1953</b> - He is introduced to Master Yip Man, a teacher of the Wing Chun style of gung fu</li>
     <li><b>1959</b> - Moves to Seattle, WA and lives life like a badass </li>
     <li><b>1973</b> - Lapses into a coma after taking a prescribed painkiller and is unable to be revived.  The world loses a brilliant star and human being.</li>
    </ul>
    </p>
  </div>
  
  <blockquote>
    <p id="p2"> 
      "Do not pray for an easy life, pray for           the strength to endure a difficult one." -         Bruce Lee
    </p>
  </blockquote>
 
  
  <a href="https://en.wikipedia.org/wiki/Bruce_Lee">
    <h4>Click here to learn more about Bruce Lee</h4>
  </a>

  </div>
    <footer>
      <p id="footer">
        Written and Coded by <a                           href="https://codepen.io/ksc23/">Seong             Kim</a>
      </p>
    </footer>
  
</div>
</body>
              
            
!

CSS

              
                div.container-fluid {
  margin-top: 60px;
}

h1 {
  color: red;
  font-size: 90px;
  font-family: Lobster;
  text-align: center;
}

h3 {
  text-align: center;
  font-style: italic;
}

#p1 {
  text-align: center;
}

.blocktext {
  margin-left: auto;
  margin-right: auto;
}


.responsive {
  max-width: 80%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
  margin-bottom: 15px;
}


h4 {
  text-align: center;
  font-style: italic;
  font-size: 25px;
  margin-bottom: 40px;
  margin-top: 40px;
  
}

.container {
  margin-left: auto;
  margin-right: auto;
  width: 75em;
  margin-bottom: 20px;
}

#p2 {
  font-style: italic;
  text-align: center;
}

#footer {
  text-align: center;
}

              
            
!

JS

              
                
              
            
!
999px

Console