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 class="container-fluid">
  <div class="row">
    <div class="col-sm-2"></div>
    <div class="col-sm-8" style="background-color:silver">
      <div class="page-header text-center"><h1>Keanu Reeves
        <p><small>A Canadian actor, director, producer, and musician</small></p></h1>
      </div>
      <div class="jumbotron" id="jumbo-shadow">
        <img class="img-responsive" src="https://conteudo.imguol.com.br/blogs/88/files/2014/09/destaque28.jpg" alt="keanu">
        <p><em>Just a random photo of Keanu</em></p>
      </div>
      <div class="container-fluid" id="infoscroll">
      <ul>
        <li><mark>1964</mark> - born in Beirut, Lebanon;</li>
        <li><mark>1966</mark> - moved with family to Sydney, and then to New York;</li>
        <li><mark>1971</mark> - Reevs' family moved to Toronto;</li>
        <li><mark>1973</mark> - first acting in a theatre;</li>
        <li><mark>1979</mark> - at 15, he played Mercutio in a stage production of Romeo and Juliet at the Leah Posluns Theatre;</li>
        <li><mark>1981</mark> - dropped out of highschool;</li>
        <li><mark>1984</mark> - moved to Los Angeles; made his screen acting debut in an episode of Hangin' In;</li>
        <li><mark>1986</mark> - Reeves received a sizeable role in drama film River's Edge;</li>
        <li><mark>1992</mark> - he appeared in high-budget action films like Point Break, for which he won MTV's "Most Desirable Male" award;</li>
        <li><mark>1992</mark> - he played Jonathan Harker in the Francis Ford Coppola-directed blockbuster Bram Stoker's Dracula;</li>
        <li><mark>1994</mark> - Reeves' career reached a new high as a result of his starring role in the action film Speed;</li>
        <li><mark>1999</mark> - had a starring role in a science fiction-action hit "The Matrix"</li>
         </ul>
      </div>
      <blockquote>“Money doesn’t mean anything to me. I’ve made a lot of money, but I want to enjoy life and not stress myself building my bank account. I give lots away and live simply, mostly out of a suitcase in hotels. We all know that good health is much more important.”
        <footer>Keanu Reeves</footer>
      </blockquote>
      <h5 class="text-center">If you want to find out more about Keanu Reeves read about him on 
        <form style="inline:display" action="https://en.wikipedia.org/wiki/Keanu_Reeves" method="get" target="_blank">
          <button class="btn btn-info"><i class="fa fa-info-circle"></i>Wikipedia</button>
        </form>
      </h5>
    <div class="col-sm-2"></div>
  </div>
</div>
              
            
!

CSS

              
                
body {background-color:black;
  }
#jumbo-shadow {
  box-shadow: 0px 0px 15px 15px rgba(255,255,255,0.5);
}
#jumbo-shadow:hover {
  box-shadow: 0px 0px 25px 25px rgba(0,0,0,0.5);
}
#infoscroll {
  overflow-y:scroll;
  max-height: 200px;
}
#infoscroll:hover {
  overflow-y:scroll;
  max-height:200px;
  background-color: rgb(200,200,200);
}
mark {background-color:inherit;}
blockquote {
  margin-top:15px;
  margin-bottom:15px;
  background-color:rgb(230,230,230);
  border-radius:3px;
  box-shadow: 0px 0px 15px 15px rgba(255,255,255,0.5);
}
blockquote:hover {
  margin-top:15px;
  margin-bottom:15px;
  background-color:rgb(230,230,230);
  border-radius:3px;
  box-shadow: 0px 0px 15px 15px rgba(0,0,0,0.5);
}
              
            
!

JS

              
                
              
            
!
999px

Console