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.

            
              <section class="moving-wave">
	
	<div class="wave waveup"></div>
	
	<div class="container">
		<div class="row">
			<div class="col-md-12">
				<h1 class="heading1">Bootstrap Jumbotron modified, simple plugin with wave animation effect</h1>
			</div>
			
			<div class="col-md-8 col-md-offset-2">
				<div class="jumbotron"> 
					<h1>Dude 007!</h1> 
					<h3>This is a simple hero unit, a jumbotron-style component for featured content.</h3> 
					<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p> 
					<p><a href="#" class="btn btn-primary btn-lg" role="button">Learn more</a></p> 
				</div>
			</div>
			
			<div class="col-md-12">
				<p style="font-style: italic; color: #F5360D; font-size: 18px; text-align: center; margin-top: 50px; margin-bottom: 20px;">Follow me on Twitter: <a href="https://twitter.com/mrdogra007/" target="_blank" style="color: #F5360D;">@mrdogra007</a></p>
			</div>
		</div>
	</div>
	
	<div class="wave wavedown"></div>
	
</section>
            
          
!
            
              body { width: 100%; margin: 0; padding: 0; overflow-x: hidden; background: #FD7F64; color: #F5360D;}
h1.heading1 { font-size: 36px; font-weight: 800; text-align: center; margin-top: 40px; text-shadow: 1px 1px 0px rgba( 0, 0, 0, .50 );}
.jumbotron { margin-top: 50px; margin-bottom: 50px; box-shadow: 0px 0px 40px 0px rgba( 255, 45, 0, .50 );}
.jumbotron p { font-size: 16px; color: #373737; line-height: 1.6;}
.jumbotron h1 { color: #FF461E; font-weight: 800;}
.jumbotron .btn { background-color: #FF461E; border: none;}
.jumbotron .btn:hover, .jumbotron .btn:focus, .jumbotron .btn.active { background-color: #F5360D;}
.moving-wave { position: relative; display: inline-block; width: 100%; height: 10px; top: -5px;}
.moving-wave .wave { height: 0; width: 300%; position: relative; top: 0; animation: waves 30s ease-in-out infinite;}
.moving-wave .wave.waveup:before { content: ""; display: block; left: 0; bottom: 0; right: 0; background-repeat: repeat; height: 10px; background-size: 20px 20px; background-image: radial-gradient(circle at 10px -5px, #FF461E 13px, transparent 12px);}
.moving-wave .wave.wavedown:before { content: ""; display: block; left: 0; bottom: 0; right: 0; background-repeat: repeat; height: 10px; background-size: 20px 20px; background-image: radial-gradient(circle at 10px -5px, transparent 12px, #FF461E 13px);}

@keyframes waves {
	0% {
		-webkit-transform: translateX(0);
		-ms-transform: translateX(0);
		transform: translateX(0);
	}
	50% {
		-webkit-transform: translateX(-10%);
		-ms-transform: translateX(-10%);
		transform: translateX(-10%);
	}
	100% {
		-webkit-transform: translateX(0);
		-ms-transform: translateX(0);
		transform: translateX(0);
	}
}
            
          
!
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.

Console