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

              
                <div id="sky">
		<div id="cloud_box">		
			<div class="cloud"></div>
		</div>	

		<div id="flower_box">
			<div class="flowers"></div>
		</div>

		<div id="flower_box2">
			<div class="flowers"></div>
		</div>

		<div id="flower_box3">
			<div class="flowers"></div>
		</div>

		<div id="flower_box4">
			<div class="flowers"></div>
		</div>

		<div id="flower_box5">
			<div class="flowers"></div>
		</div>

		<div id="flower_box6">
			<div class="flowers"></div>
		</div>

		<div id="bolt_box">
			<div class="flower_bolt"></div>
		</div>

		<div id="puff_box">
			<div class="flower_puff"></div>
		</div>

	</div>
              
            
!

CSS

              
                <style type="text/css">

		body{
			background: white;
		}

		#sky {
			position: relative;
			height: 275px;
			width: 100%;
			background-image:  linear-gradient(#f6f6f6, #6D91F2) ;
		}

		.cloud {
		  box-shadow: 60px 30px 0 0 rgba(158, 158, 158, 1), 70px 30px 0 0 rgba(158, 158, 158, 1), 80px 30px 0 0 rgba(158, 158, 158, 1), 90px 30px 0 0 rgba(158, 158, 158, 1), 100px 30px 0 0 rgba(158, 158, 158, 1), 50px 40px 0 0 rgba(158, 158, 158, 1), 60px 40px 0 0 rgba(158, 158, 158, 1), 70px 40px 0 0 rgba(158, 158, 158, 1), 80px 40px 0 0 rgba(158, 158, 158, 1), 90px 40px 0 0 rgba(158, 158, 158, 1), 100px 40px 0 0 rgba(158, 158, 158, 1), 120px 40px 0 0 rgba(158, 158, 158, 1), 130px 40px 0 0 rgba(158, 158, 158, 1), 140px 40px 0 0 rgba(158, 158, 158, 1), 150px 40px 0 0 rgba(158, 158, 158, 1), 30px 50px 0 0 rgba(158, 158, 158, 1), 40px 50px 0 0 rgba(158, 158, 158, 1), 50px 50px 0 0 rgba(158, 158, 158, 1), 60px 50px 0 0 rgba(158, 158, 158, 1), 70px 50px 0 0 rgba(158, 158, 158, 1), 80px 50px 0 0 rgba(158, 158, 158, 1), 90px 50px 0 0 rgba(158, 158, 158, 1), 100px 50px 0 0 rgba(158, 158, 158, 1), 110px 50px 0 0 rgba(158, 158, 158, 1), 120px 50px 0 0 rgba(158, 158, 158, 1), 130px 50px 0 0 rgba(158, 158, 158, 1), 140px 50px 0 0 rgba(158, 158, 158, 1), 150px 50px 0 0 rgba(158, 158, 158, 1), 160px 50px 0 0 rgba(158, 158, 158, 1), 170px 50px 0 0 rgba(158, 158, 158, 1), 180px 50px 0 0 rgba(158, 158, 158, 1), 30px 60px 0 0 rgba(96, 125, 139, 1), 40px 60px 0 0 rgba(96, 125, 139, 1), 50px 60px 0 0 rgba(158, 158, 158, 1), 60px 60px 0 0 rgba(158, 158, 158, 1), 70px 60px 0 0 rgba(158, 158, 158, 1), 80px 60px 0 0 rgba(158, 158, 158, 1), 90px 60px 0 0 rgba(158, 158, 158, 1), 100px 60px 0 0 rgba(158, 158, 158, 1), 110px 60px 0 0 rgba(158, 158, 158, 1), 120px 60px 0 0 rgba(158, 158, 158, 1), 130px 60px 0 0 rgba(158, 158, 158, 1), 140px 60px 0 0 rgba(158, 158, 158, 1), 150px 60px 0 0 rgba(158, 158, 158, 1), 160px 60px 0 0 rgba(158, 158, 158, 1), 170px 60px 0 0 rgba(158, 158, 158, 1), 180px 60px 0 0 rgba(158, 158, 158, 1), 190px 60px 0 0 rgba(158, 158, 158, 1), 200px 60px 0 0 rgba(158, 158, 158, 1), 20px 70px 0 0 rgba(158, 158, 158, 1), 30px 70px 0 0 rgba(158, 158, 158, 1), 40px 70px 0 0 rgba(96, 125, 139, 1), 50px 70px 0 0 rgba(96, 125, 139, 1), 60px 70px 0 0 rgba(96, 125, 139, 1), 70px 70px 0 0 rgba(96, 125, 139, 1), 80px 70px 0 0 rgba(158, 158, 158, 1), 90px 70px 0 0 rgba(158, 158, 158, 1), 100px 70px 0 0 rgba(0, 0, 0, 1), 110px 70px 0 0 rgba(158, 158, 158, 1), 120px 70px 0 0 rgba(158, 158, 158, 1), 130px 70px 0 0 rgba(0, 0, 0, 1), 140px 70px 0 0 rgba(158, 158, 158, 1), 150px 70px 0 0 rgba(158, 158, 158, 1), 160px 70px 0 0 rgba(158, 158, 158, 1), 170px 70px 0 0 rgba(96, 125, 139, 1), 180px 70px 0 0 rgba(96, 125, 139, 1), 190px 70px 0 0 rgba(158, 158, 158, 1), 200px 70px 0 0 rgba(158, 158, 158, 1), 20px 80px 0 0 rgba(158, 158, 158, 1), 30px 80px 0 0 rgba(96, 125, 139, 1), 40px 80px 0 0 rgba(96, 125, 139, 1), 50px 80px 0 0 rgba(96, 125, 139, 1), 60px 80px 0 0 rgba(96, 125, 139, 1), 70px 80px 0 0 rgba(158, 158, 158, 1), 80px 80px 0 0 rgba(158, 158, 158, 1), 90px 80px 0 0 rgba(158, 158, 158, 1), 100px 80px 0 0 rgba(158, 158, 158, 1), 110px 80px 0 0 rgba(158, 158, 158, 1), 120px 80px 0 0 rgba(158, 158, 158, 1), 130px 80px 0 0 rgba(158, 158, 158, 1), 140px 80px 0 0 rgba(158, 158, 158, 1), 150px 80px 0 0 rgba(158, 158, 158, 1), 160px 80px 0 0 rgba(96, 125, 139, 1), 170px 80px 0 0 rgba(96, 125, 139, 1), 180px 80px 0 0 rgba(96, 125, 139, 1), 190px 80px 0 0 rgba(96, 125, 139, 1), 200px 80px 0 0 rgba(158, 158, 158, 1), 20px 90px 0 0 rgba(96, 125, 139, 1), 30px 90px 0 0 rgba(96, 125, 139, 1), 40px 90px 0 0 rgba(158, 158, 158, 1), 50px 90px 0 0 rgba(158, 158, 158, 1), 60px 90px 0 0 rgba(158, 158, 158, 1), 70px 90px 0 0 rgba(158, 158, 158, 1), 80px 90px 0 0 rgba(96, 125, 139, 1), 90px 90px 0 0 rgba(158, 158, 158, 1), 100px 90px 0 0 rgba(158, 158, 158, 1), 110px 90px 0 0 rgba(0, 0, 0, 1), 120px 90px 0 0 rgba(0, 0, 0, 1), 130px 90px 0 0 rgba(158, 158, 158, 1), 140px 90px 0 0 rgba(158, 158, 158, 1), 150px 90px 0 0 rgba(158, 158, 158, 1), 160px 90px 0 0 rgba(158, 158, 158, 1), 170px 90px 0 0 rgba(96, 125, 139, 1), 180px 90px 0 0 rgba(158, 158, 158, 1), 190px 90px 0 0 rgba(96, 125, 139, 1), 200px 90px 0 0 rgba(96, 125, 139, 1), 30px 100px 0 0 rgba(96, 125, 139, 1), 40px 100px 0 0 rgba(96, 125, 139, 1), 50px 100px 0 0 rgba(158, 158, 158, 1), 60px 100px 0 0 rgba(96, 125, 139, 1), 70px 100px 0 0 rgba(96, 125, 139, 1), 80px 100px 0 0 rgba(96, 125, 139, 1), 90px 100px 0 0 rgba(158, 158, 158, 1), 100px 100px 0 0 rgba(158, 158, 158, 1), 110px 100px 0 0 rgba(158, 158, 158, 1), 120px 100px 0 0 rgba(158, 158, 158, 1), 130px 100px 0 0 rgba(158, 158, 158, 1), 140px 100px 0 0 rgba(158, 158, 158, 1), 150px 100px 0 0 rgba(158, 158, 158, 1), 160px 100px 0 0 rgba(158, 158, 158, 1), 170px 100px 0 0 rgba(96, 125, 139, 1), 180px 100px 0 0 rgba(96, 125, 139, 1), 190px 100px 0 0 rgba(96, 125, 139, 1), 200px 100px 0 0 rgba(56, 53, 53, 1), 40px 110px 0 0 rgba(96, 125, 139, 1), 50px 110px 0 0 rgba(96, 125, 139, 1), 60px 110px 0 0 rgba(48, 63, 70, 1), 70px 110px 0 0 rgba(48, 63, 70, 1), 80px 110px 0 0 rgba(96, 125, 139, 1), 90px 110px 0 0 rgba(96, 125, 139, 1), 100px 110px 0 0 rgba(48, 63, 70, 1), 110px 110px 0 0 rgba(48, 63, 70, 1), 120px 110px 0 0 rgba(48, 63, 70, 1), 130px 110px 0 0 rgba(48, 63, 70, 1), 140px 110px 0 0 rgba(96, 125, 139, 1), 150px 110px 0 0 rgba(96, 125, 139, 1), 160px 110px 0 0 rgba(48, 63, 70, 1), 170px 110px 0 0 rgba(96, 125, 139, 1), 180px 110px 0 0 rgba(96, 125, 139, 1), 190px 110px 0 0 rgba(48, 63, 70, 1), 50px 120px 0 0 rgba(48, 63, 70, 1), 60px 120px 0 0 rgba(48, 63, 70, 1), 70px 120px 0 0 rgba(48, 63, 70, 1), 90px 120px 0 0 rgba(48, 63, 70, 1), 100px 120px 0 0 rgba(48, 63, 70, 1), 110px 120px 0 0 rgba(48, 63, 70, 1), 120px 120px 0 0 rgba(48, 63, 70, 1), 130px 120px 0 0 rgba(48, 63, 70, 1), 140px 120px 0 0 rgba(48, 63, 70, 1), 160px 120px 0 0 rgba(48, 63, 70, 1), 170px 120px 0 0 rgba(48, 63, 70, 1), 180px 120px 0 0 rgba(48, 63, 70, 1);
		  height: 10px;
		  width: 10px;
		}

		#cloud_box {
		  height: 250px;
		  width: 250px;
		  margin-left: 5%;
		  position: relative;
		  padding: 10px;
		  animation: cloud_box 3s 1;
		  -moz-animation: cloud_box 5s 1;
		  -webkit-animation: cloud_box 5s 1;
		  -o-animation: cloud_box 5s 1;
		}

	@keyframes cloud_box
		{
	    0% {transform: rotate(0deg); left:0px;}
	  	25% {transform: rotate(20deg); left:0px;}
	  	50% {transform: rotate(0deg); left: 700px;}
	  	55% {transform: rotate(0deg); left: 700px;}
	    70% {transform: rotate(0deg); left: 700px;}
		100% {transform: rotate(-360deg); left:0px;}
	}

	@-webkit-keyframes cloud_box 
		{
	    0% {-webkit-transform: rotate(0deg); left:0px;}
		25% {-webkit-transform: rotate(20deg); left:0px;}
		50% {-webkit-transform: rotate(0deg); left: 500px;}
		55% {-webkit-transform: rotate(0deg); left: 500px;}
		70% {-webkit-transform: rotate(0deg); left: 500px;}
		100% {-webkit-transform: rotate(-360deg); left:0px;}
	}

	@-moz-keyframes cloud_box 
		{
	    0% {-moz-transform: rotate(0deg); left:0px;}
		25% {-moz-transform: rotate(20deg); left:0px;}
		50% {-moz-transform: rotate(0deg); left: 500px;}
		55% {-moz-transform: rotate(0deg); left: 500px;}
		70% {-moz-transform: rotate(0deg); left: 500px;}
		100% {-moz-transform: rotate(-360deg); left:0px;}
	}

	@-o-keyframes cloud_box 
		{
	    0% {transform: rotate(0deg); left:0px;}
	  	25% {transform: rotate(20deg); left:0px;}
	  	50% {transform: rotate(0deg); left: 500px;}
	  	55% {transform: rotate(0deg); left: 500px;}
	    70% {transform: rotate(0deg); left: 500px;}
		100% {transform: rotate(-360deg); left:0px;}
	}

#flower_box {
	position: absolute;
	width: 100px;
  	height: 100px;
  	left: 5px;
  	top: 65px;
	}

#flower_box2 {
	position: absolute;
	width: 100px;
  	height: 100px;
  	left: 165px;
  	top: 65px;
	}

#flower_box3 {
	position: absolute;
	width: 100px;
  	height: 100px;
  	left: 330px;
  	top: 65px;
	}

#flower_box4 {
	position: absolute;
	width: 100px;
  	height: 100px;
  	left: 490px;
  	top: 65px;
	}

#flower_box5 {
	position: absolute;
	width: 100px;
  	height: 100px;
  	left: 650px;
  	top: 65px;
	}

#flower_box6 {
	position: absolute;
	width: 100px;
  	height: 100px;
  	left: 810px;
  	top: 65px;
  	animation: strike_flowers 3s 1;
	}

	@keyframes strike_flowers
	{
	   0% { opacity: 1; }
	  25% { opacity: 1; }
	  76.999% { opacity: 1; }
	  77% { opacity: 0; }
	  100% { opacity: 0; }
	}

#bolt_box {
	opacity: 0;
	position: absolute;
	width: 100px;
  	height: 100px;
  	left: 810px;
  	top: 65px;
	animation: strike_bolt 3s 1;
	}

	@keyframes strike_bolt
	{
	  0% { opacity: 0; }
	  .999% { opacity: 0; }
	  74.999% { opacity: 0; }
	  75% { opacity: 1; }
	  76.5% {opacity: 0; }
	  100% { opacity: 0; }
	}

#puff_box {
	
	position: absolute;
	width: 100px;
  	height: 100px;
  	left: 810px;
  	top: 65px;
  	animation: strike_puff 3s 1;
}

	@keyframes strike_puff
	{
	  0% { opacity: 0; }
	  25% { opacity: 0; }
	  76.999% { opacity: 0; }
	  77% { opacity: 1; }
	  100% { opacity: 1; }
	}

.flowers {
  box-shadow: 60px 150px 0 0 rgba(255, 0, 0, 1), 100px 150px 0 0 rgba(233, 30, 99, 1), 140px 150px 0 0 rgba(255, 87, 34, 1), 180px 150px 0 0 rgba(255, 0, 0, 1), 50px 160px 0 0 rgba(255, 0, 0, 1), 60px 160px 0 0 rgba(255, 193, 7, 1), 70px 160px 0 0 rgba(255, 0, 0, 1), 90px 160px 0 0 rgba(233, 30, 99, 1), 100px 160px 0 0 rgba(255, 193, 7, 1), 110px 160px 0 0 rgba(233, 30, 99, 1), 130px 160px 0 0 rgba(255, 87, 34, 1), 140px 160px 0 0 rgba(255, 193, 7, 1), 150px 160px 0 0 rgba(255, 87, 34, 1), 170px 160px 0 0 rgba(255, 0, 0, 1), 180px 160px 0 0 rgba(255, 193, 7, 1), 190px 160px 0 0 rgba(255, 0, 0, 1), 60px 170px 0 0 rgba(255, 0, 0, 1), 100px 170px 0 0 rgba(233, 30, 99, 1), 140px 170px 0 0 rgba(255, 87, 34, 1), 180px 170px 0 0 rgba(255, 0, 0, 1), 60px 180px 0 0 rgba(76, 175, 80, 1), 100px 180px 0 0 rgba(76, 175, 80, 1), 140px 180px 0 0 rgba(76, 175, 80, 1), 180px 180px 0 0 rgba(76, 175, 80, 1), 50px 190px 0 0 rgba(139, 195, 74, 1), 60px 190px 0 0 rgba(76, 175, 80, 1), 70px 190px 0 0 rgba(139, 195, 74, 1), 100px 190px 0 0 rgba(76, 175, 80, 1), 110px 190px 0 0 rgba(139, 195, 74, 1), 130px 190px 0 0 rgba(139, 195, 74, 1), 140px 190px 0 0 rgba(76, 175, 80, 1), 150px 190px 0 0 rgba(139, 195, 74, 1), 180px 190px 0 0 rgba(76, 175, 80, 1), 190px 190px 0 0 rgba(139, 195, 74, 1), 60px 200px 0 0 rgba(76, 175, 80, 1), 90px 200px 0 0 rgba(139, 195, 74, 1), 100px 200px 0 0 rgba(76, 175, 80, 1), 140px 200px 0 0 rgba(76, 175, 80, 1), 170px 200px 0 0 rgba(139, 195, 74, 1), 180px 200px 0 0 rgba(76, 175, 80, 1);
  height: 10px;
  width: 10px;
  opacity: 0px;
}

.flower_bolt {
  box-shadow: 80px 70px 0 0 rgba(255, 235, 59, 1), 80px 80px 0 0 rgba(255, 235, 59, 1), 90px 80px 0 0 rgba(255, 235, 59, 1), 90px 90px 0 0 rgba(255, 235, 59, 1), 100px 90px 0 0 rgba(255, 235, 59, 1), 100px 100px 0 0 rgba(255, 235, 59, 1), 110px 110px 0 0 rgba(255, 235, 59, 1), 120px 120px 0 0 rgba(255, 235, 59, 1), 120px 130px 0 0 rgba(255, 235, 59, 1), 130px 140px 0 0 rgba(255, 235, 59, 1), 60px 150px 0 0 rgba(255, 0, 0, 1), 100px 150px 0 0 rgba(233, 30, 99, 1), 140px 150px 0 0 rgba(255, 87, 34, 1), 180px 150px 0 0 rgba(255, 0, 0, 1), 50px 160px 0 0 rgba(255, 0, 0, 1), 60px 160px 0 0 rgba(255, 193, 7, 1), 70px 160px 0 0 rgba(255, 0, 0, 1), 90px 160px 0 0 rgba(233, 30, 99, 1), 100px 160px 0 0 rgba(255, 193, 7, 1), 110px 160px 0 0 rgba(233, 30, 99, 1), 130px 160px 0 0 rgba(255, 87, 34, 1), 140px 160px 0 0 rgba(255, 193, 7, 1), 150px 160px 0 0 rgba(255, 87, 34, 1), 170px 160px 0 0 rgba(255, 0, 0, 1), 180px 160px 0 0 rgba(255, 193, 7, 1), 190px 160px 0 0 rgba(255, 0, 0, 1), 60px 170px 0 0 rgba(255, 0, 0, 1), 100px 170px 0 0 rgba(233, 30, 99, 1), 140px 170px 0 0 rgba(255, 87, 34, 1), 180px 170px 0 0 rgba(255, 0, 0, 1), 60px 180px 0 0 rgba(76, 175, 80, 1), 100px 180px 0 0 rgba(76, 175, 80, 1), 140px 180px 0 0 rgba(76, 175, 80, 1), 180px 180px 0 0 rgba(76, 175, 80, 1), 50px 190px 0 0 rgba(139, 195, 74, 1), 60px 190px 0 0 rgba(76, 175, 80, 1), 70px 190px 0 0 rgba(139, 195, 74, 1), 100px 190px 0 0 rgba(76, 175, 80, 1), 110px 190px 0 0 rgba(139, 195, 74, 1), 130px 190px 0 0 rgba(139, 195, 74, 1), 140px 190px 0 0 rgba(76, 175, 80, 1), 150px 190px 0 0 rgba(139, 195, 74, 1), 180px 190px 0 0 rgba(76, 175, 80, 1), 190px 190px 0 0 rgba(139, 195, 74, 1), 60px 200px 0 0 rgba(76, 175, 80, 1), 90px 200px 0 0 rgba(139, 195, 74, 1), 100px 200px 0 0 rgba(76, 175, 80, 1), 140px 200px 0 0 rgba(76, 175, 80, 1), 170px 200px 0 0 rgba(139, 195, 74, 1), 180px 200px 0 0 rgba(76, 175, 80, 1);
  height: 10px;
  width: 10px;
}

.flower_puff {
  box-shadow: 140px 90px 0 0 rgba(216,216,216, 1), 130px 100px 0 0 rgba(216,216,216, 1), 140px 100px 0 0 rgba(216,216,216, 1), 140px 110px 0 0 rgba(216,216,216, 1), 150px 110px 0 0 rgba(216,216,216, 1), 130px 120px 0 0 rgba(216,216,216, 1), 140px 120px 0 0 rgba(216,216,216, 1), 150px 120px 0 0 rgba(216,216,216, 1), 140px 130px 0 0 rgba(216,216,216, 1), 60px 150px 0 0 rgba(255, 0, 0, 1), 100px 150px 0 0 rgba(233, 30, 99, 1), 140px 150px 0 0 rgba(48, 63, 70, 1), 180px 150px 0 0 rgba(255, 0, 0, 1), 50px 160px 0 0 rgba(255, 0, 0, 1), 60px 160px 0 0 rgba(255, 193, 7, 1), 70px 160px 0 0 rgba(255, 0, 0, 1), 90px 160px 0 0 rgba(233, 30, 99, 1), 100px 160px 0 0 rgba(255, 193, 7, 1), 110px 160px 0 0 rgba(233, 30, 99, 1), 130px 160px 0 0 rgba(48, 63, 70, 1), 140px 160px 0 0 rgba(255, 193, 7, 1), 150px 160px 0 0 rgba(48, 63, 70, 1), 170px 160px 0 0 rgba(255, 0, 0, 1), 180px 160px 0 0 rgba(255, 193, 7, 1), 190px 160px 0 0 rgba(255, 0, 0, 1), 60px 170px 0 0 rgba(255, 0, 0, 1), 100px 170px 0 0 rgba(233, 30, 99, 1), 140px 170px 0 0 rgba(48, 63, 70, 1), 180px 170px 0 0 rgba(255, 0, 0, 1), 60px 180px 0 0 rgba(76, 175, 80, 1), 100px 180px 0 0 rgba(76, 175, 80, 1), 140px 180px 0 0 rgba(76, 175, 80, 1), 180px 180px 0 0 rgba(76, 175, 80, 1), 50px 190px 0 0 rgba(139, 195, 74, 1), 60px 190px 0 0 rgba(76, 175, 80, 1), 70px 190px 0 0 rgba(139, 195, 74, 1), 100px 190px 0 0 rgba(76, 175, 80, 1), 110px 190px 0 0 rgba(139, 195, 74, 1), 130px 190px 0 0 rgba(139, 195, 74, 1), 140px 190px 0 0 rgba(76, 175, 80, 1), 150px 190px 0 0 rgba(139, 195, 74, 1), 180px 190px 0 0 rgba(76, 175, 80, 1), 190px 190px 0 0 rgba(139, 195, 74, 1), 60px 200px 0 0 rgba(76, 175, 80, 1), 90px 200px 0 0 rgba(139, 195, 74, 1), 100px 200px 0 0 rgba(76, 175, 80, 1), 140px 200px 0 0 rgba(76, 175, 80, 1), 170px 200px 0 0 rgba(139, 195, 74, 1), 180px 200px 0 0 rgba(76, 175, 80, 1);
  height: 10px;
  width: 10px;
}

              
            
!

JS

              
                
              
            
!
999px

Console