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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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 id="main">

  <header class="text-center">
    <div class="headline">
      <h1 id="title">Bruce Lee</h1>
    </div>
  </header>

  <div id="img-div">
    <img id="image" src="https://bruceleefoundation.org/wp-content/uploads/2016/03/ATTITUDE-DETERMINES-ALTITUDE-600x600.jpg" alt="pic from Bruce Lee Foundation" />
    <div id="img-caption">
      Tribute to the Master
    </div>
  </div>

  <div class="container">
    <aside>
      <h2 class="text-center">Film</h2>
      <ul>
        <li>1969 - Marlowe</li>
        <li>1971 - The Big Boss</li>
        <li>1972 - Way of the Dragon</li>
        <li>1972 - Fist of Fury</li>
        <li>1973 - Enter the Dragon</li>
        <li>1979 - The Real Bruce Lee</li>
        <li>2010 - Bruce Lee, My Brother</li>
      </ul>
    </aside>
    <section id="tribute-info">
      <p>Lee Jun-fan (Chinese: 李振藩; November 27, 1940 – July 20, 1973), known professionally as Bruce Lee, was a Hong Kong and American actor, martial artist, philosopher, filmmaker, and founder of the martial art Jeet Kune Do. Lee was the son of Cantonese
        opera star Lee Hoi-Chuen. He is widely considered by commentators, critics, media, and other martial artists to be one of the most influential martial artists of all time,[3] and a pop culture icon of the 20th century. He is often credited with
        helping to change the way Asians were presented in American films.</p>

      <p>Lee was born in Chinatown, San Francisco on November 27, 1940 to parents from Hong Kong and was raised in Kowloon, Hong Kong with his family until his late teens. He was introduced to the film industry by his father and appeared in several films
        as a child actor. Lee moved to the United States at the age of 18 to receive his higher education, at the University of Washington, at Seattle and it was during this time that he began teaching martial arts. His Hong Kong and Hollywood-produced
        films elevated the traditional Hong Kong martial arts film to a new level of popularity and acclaim, sparking a surge of interest in Chinese martial arts in the West in the 1970s. The direction and tone of his films changed and influenced martial
        arts and martial arts films in the US, Hong Kong and the rest of the world.</p>

      <p>He is noted for his roles in five feature-length films: Lo Wei's The Big Boss (1971) and Fist of Fury (1972); Golden Harvest's Way of the Dragon (1972), directed and written by Lee; Golden Harvest and Warner Brothers' Enter the Dragon (1973) and
        The Game of Death (1978), both directed by Robert Clouse.[9] Lee became an iconic figure known throughout the world, particularly among the Chinese, as he portrayed Chinese nationalism in his films. He trained in the art of Wing Chun and later
        combined his other influences from various sources, in the spirit of his personal martial arts philosophy, which he dubbed Jeet Kune Do (The Way of the Intercepting Fist). Lee held dual nationality of Hong Kong and the US. He died in Kowloon Tong
        on July 20, 1973 at the age of 32.</p>
    </section>

    <a id="tribute-link" href="https://en.wikipedia.org/wiki/Bruce_Lee" target="_blank">more info on Wikipedia</a>
  </div>
  <hr/>
  <footer class="text-center">Written and coded by David Sabalete</footer>

</div>
              
            
!

CSS

              
                body {
  background-color: #000;
}
aside {
  float: right;
  clear: right;
  width: 200px;
  background-color: #f8f8f8;
  padding: 10px;
  margin: 10px;
}
aside ul {
  list-style: none;
  padding: 0px;
}
.container {
  padding: 50px;
  background-color: #ccc;
}

header { padding: 40px;}

.headline h1 {
    font-size: 80px;
    color: #aaa;
}
#image {
  display: block;
  max-width: 600px;
  margin: auto;
}

#img-caption {
  color: #aaa;
  text-align: center;
  margin: 1em;
}
footer {
  color: #aaa;
}
              
            
!

JS

              
                
              
            
!
999px

Console