css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <div class="jumbotron jumbotron-fluid" id="top">
  <h1 class="site-title">Be Like Bruce</h1>
  <div class="cta-div container-fluid">
  <h2 class="cta-h2">What would you like to do?</h2>
    <p class="lead">
    <a class="btn cta-btn btn-lg" href="#oip-div" role="button">ONE-INCH PUNCH</a>
    <a class="btn cta-btn btn-lg" href="#tfp-div" role="button">TWO-FINGER PUSH-UP</a>
  </p>
  </div>
</div>

<div class="container-fluid" id="oip-div">
  <div class="row">
    <div class="col-sm-6 col-sm-offset-6 section-right">
    <h2 class="oip-title">The One-inch Punch</h2>
    <p class="lead">As with anything Bruce Lee, the One-Inch Punch is nothing short of dramatic, powerful and awe-inspiring. The move became synonymous with the legendary Bruce Lee after his demonstration at the <a href="https://en.wikipedia.org/wiki/Long_Beach_International_Karate_Championships">Long Beach International Karate Championship in 1964</a>. Bruce Lee learned the technique from his <a href="https://en.wikipedia.org/wiki/Wing_Chun">Wing Chun</a> training in Hong Kong.</p>

<p class="lead">How Bruce Lee the One-Inch Punch is achieved is a testament to his tremendous focus and dedication. It is an inspiring showcase of the human spirit. Whatever you set your mind to, you can achieve it - if you go at it with all your heart. Watch the video or click on the button below to find out how the One-Inch Punch works!</p>
      <p class="lead">
<a class="btn cta-btn btn-lg" href="http://www.wikihow.com/One-Inch-Punch" role="button">WAH-TAA!</a></p>
    </div>
    <div class="col-sm-6 col-sm-pull-6 section-left">
      <figure>
      <img class="bruce-img img-responsive hidden-xs" src="http://iwebsg.com/codepenimages/bruce_lee_3.jpg" alt="Bruce Lee one-inch punch" />
      </figure>
      <div class="videoWrapper">
      <iframe width="560" height="315"  src="https://www.youtube.com/embed/bkK2MmiImkY" frameborder="0" allowfullscreen></iframe>
      </div>
    </div>
  </div>
 </div>
  <div class="container-fluid" id="tfp-div">
    <div class="row">
      <div class="col-sm-6">
        <h2 class="tfp-title">Two-finger Push-up</h2>
<p class="lead">At the same event where he demonstrated the incredible One-Inch Punch, Bruce Lee also stunned the world with another feat - the Two-Finger Push-up! Watch the video to be amazed by how Bruce Lee did it , and then click on the button below to find out how to do the Two-Finger Push-up yourself!</p>
        <p class="lead">
<a class="btn cta-btn btn-lg" href="http://healthyliving.azcentral.com/twofinger-pushups-8526.html" role="button">WAH-TAA!</a></p>
      </div>
      <div class="col-sm-6">
        <div class="videoWrapper" id="vid-two">
      <iframe width="560" height="315"  src="https://www.youtube.com/embed/3WCQGghedDM" frameborder="0" allowfullscreen></iframe>
      </div>
      </div>
    </div>
  </div>
<div class="container-fluid" id="bruce-quotes">
  <i class="fa fa-quote-left" aria-hidden="true"></i><p>Be like water, my friend.</p>
  </div>
</div>
<div id="arrow-up"><a href="#top"><i class="fa fa-chevron-up" aria-hidden="true"></i></a></div>

            
          
!
            
              .jumbotron-fluid {
  background: url("http://iwebsg.com/codepenimages/brucelee-hero-2.jpg") no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  min-height:650px;
  max-width:100%;
}

h1.site-title {
  color:#fff;
  opacity:0.75;
  text-align:center;
  font-size:180px;
  position:static;
  margin: 0 auto;
}

.cta-div {
  text-align:center;
  background: rgba(0, 0, 0, 0.3);
  margin-top: 200px;
}

.cta-btn {
  background: #ffdf00;
  color: #2b2b2b;
  font-weight:bold;
  margin: 18px;
}

.cta-btn:hover {
  background: #2b2b2b;
  color: #ffdf00;
}

a.cta-btn:link, a.cta-btn:visited { color: rgb (0, 0, 0);
  text-decoration:none;
}

h2.cta-h2 {
  color:#fff;
  opacity: 0.75;
  font-size:24px;
}

.section-left {
  position: absolute;
 
}

.section-right {
  position: relative;
}

.section-right p {
  text-align:justify;
}

.bruce-img {
  width:600px;
  margin: 0 auto;
}

h2.oip-title, h2.tfp-title  {
  font-size:80px;
}

.fa-quote-left {
  font-size:24px;
}


.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#oip-div {
  margin-bottom:100px;
}

#vid-two {
  margin-top:60px;
}

#bruce-quotes {
  background-color: #2b2b2b;
  color:#fff;
  margin-top:100px;
  padding-bottom: 50px;
  text-align: center;
  font-family: 'Tangerine', cursive;
  font-size:60px;
}

.fa-chevron-up {
  background-color:rgba(0, 0, 0, 0.5);
  position:fixed;
  bottom: 15px;
  right: 20px;
  font-size:30px;
  color: rgba(255, 255, 255, 0.5);
}
            
          
!
            
              $(document).scroll(function() {
  var y = $(this).scrollTop();
  if (y > 600) {
    $('.fa-chevron-up').fadeIn();
  } else {
    $('.fa-chevron-up').fadeOut();
  }
});
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console