Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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="main-container">
		<div class="flower flower-four">
			<div class="four-two"></div>
			<div class="four-one"></div>
			<div class="four-seven"></div>
			<div class="four-six"></div>
			<div class="four-three"></div>
			<div class="four-four"></div>
			<div class="four-five"></div>
			<div class="four-eight"></div>
			<div class="four-nine"></div>
			<div class="four-ten"></div>
		</div>
		
    <div class="flower flower-five">
			<div class="five-one"></div>
			<div class="five-two"></div>
			<div class="five-three"></div>
			<div class="five-four"></div>
			<div class="five-five"></div>
			<div class="five-fourteen">  </div>
			<div class="five-eight"></div>
			<div class="five-six"></div>
			<div class="five-seven"></div>
			<div class="five-ten"></div>
			<div class="five-nine"></div>
			<div class="five-eleven"></div>
			<div class="five-twelve"></div>
			<div class="five-thirteen">    </div>


		</div>
    
		<div class="flower flower-six">
			<div class="six-one"></div>
			<div class="six-three"></div>
			<div class="six-five"></div>
			<div class="six-seven"></div>
			<div class="six-six"></div>
			<div class="six-two"></div>
			<div class="six-four"></div>
			<div class="six-eight"></div>
			<div class="six-nine"></div>
			<div class="six-ten"></div>
			
		</div>
		
	</div>
              
            
!

CSS

              
                * {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  background: rgba(34, 27, 17, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-container div {
  position: absolute;
}

.main-container {
  background: #221b11;
  width: 500px;
  height: 500px;
  position: relative;
  margin: 0px auto;
  overflow: hidden;
}

.flower {
  position: absolute;
}

.flower-one {
  top: 0;
  left: 0;
  width: 250px;
  height: 150px;
}

.flower-two {
  top: 0;
  left: 300px;
  width: 150px;
  height: 70px;
}

.flower-three {
  top: 7px;
  right: 0;
  width: 100px;
  height: 140px;
}

.flower-four {
  top: 146px;
  left: 10px;
  width: 260px;
  height: 250px;
  z-index: 10;
}

.four-one {
  background: rgba(211, 93, 0, 1);
  background: -moz-linear-gradient(
    top,
    rgba(211, 93, 0, 1) 0%,
    rgba(241, 231, 103, 1) 100%
  );
  background: -webkit-gradient(
    left top,
    left bottom,
    color-stop(0%, rgba(211, 93, 0, 1)),
    color-stop(100%, rgba(241, 231, 103, 1))
  );
  background: -webkit-linear-gradient(
    top,
    rgba(211, 93, 0, 1) 0%,
    rgba(241, 231, 103, 1) 100%
  );
  background: -o-linear-gradient(
    top,
    rgba(211, 93, 0, 1) 0%,
    rgba(241, 231, 103, 1) 100%
  );
  background: -ms-linear-gradient(
    top,
    rgba(211, 93, 0, 1) 0%,
    rgba(241, 231, 103, 1) 100%
  );
  background: linear-gradient(
    to bottom,
    rgba(211, 93, 0, 1) 0%,
    rgba(241, 231, 103, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d35d00', endColorstr='#f1e767', GradientType=0 );
  width: 72%;
  height: 95%;
  border-radius: 50% 30% 54% 20%;
  box-shadow: inset -5px -25px 43px #eb8516;
  transform: skewX(-10deg);
}

.four-two {
  background: #cf5d04;
  width: 50%;
  height: 82%;
  right: 10px;
  top: 20px;
  border-radius: 50% 40%;
  transform: rotate(30deg);
}

.four-three {
  width: 73px;
  height: 80px;
  background: #2c0d08;
  box-shadow: -8px 0px 19px #2c0d08;
  top: 65px;
  right: 65px;
  border-radius: 53px 16px;
  transform: skewX(-17deg);
}

.four-four {
  top: 94px;
  left: 143px;
  width: 22px;
  height: 30px;
  background-color: #851e00;
  border-radius: 50% 134%;
  box-shadow: 3px -3px 3px #851e00;
}

.four-five {
  background: #cb6709;
  width: 16px;
  height: 13px;
  top: 91px;
  left: 144px;
  border-radius: 62% 38%;
  box-shadow: 1px 5px 8px #cb6709;
}

.four-six {
  width: 122px;
  height: 93px;
  background: #bb4100;
  top: 41px;
  left: 62px;
  border-radius: 60% 47% 49% 80%;
  box-shadow: -2px -18px 39px #bb4100;
}

.four-seven {
  background: #f7aa10;
  width: 158px;
  height: 206px;
  border-radius: 30% 70%;
  bottom: -7px;
  right: 63px;
  box-shadow: inset -13px 10px 32px #bb4100;
  transform: rotate(82deg);
}

.four-eight {
  background: #221b11;
  width: 63px;
  height: 146px;
  border-radius: 50% 30% 217%;
  bottom: 5px;
  left: -40px;
  transform: rotate(-35deg);
}

.four-nine {
  background: #221b11;
  width: 128px;
  height: 29px;
  border-radius: 71% 75%;
  bottom: -7px;
  left: 20px;
}

.four-ten {
  background: #221b11;
  width: 30px;
  height: 100px;
  top: 97px;
  left: -23px;
  transform: rotate(-5deg);
}

.flower-five {
  width: 300px;
  height: 214px;
  top: 30px;
  right: 0;
}

.five-one {
  background: #e4690b;
  width: 221px;
  height: 142px;
  border-radius: 40% 70% 17% 0;
  right: 0;
  box-shadow: inset -15px 11px 126px #9b0d01;
}

.five-two {
  width: 109px;
  height: 194px;
  border-radius: 107% 121% 73% 99%;
  background: #980f00;
  transform: rotate(-9deg);
  box-shadow: inset 39px -24px 72px #690802;
}

.five-three {
  transform: rotate(-9deg);
  box-shadow: inset -18px -32px 36px #cb2c04;
  background: #fb6914;
  right: -7px;
  top: 92px;
  width: 211px;
  height: 68px;
  border-radius: 70% 69% 25% 87%;
}

.five-four {
  transform: rotate(43deg);
  background: #8c0803;
  width: 105px;
  height: 69px;
  border-radius: 60% 50% 130%;
  box-shadow: -4px -20px 39px #8c0803;
  top: 84px;
  left: 79px;
}

.five-five {
  background: #de5c06;
  width: 85px;
  height: 78px;
  border-radius: 19% 108% 43% 31%;
  top: 142px;
  left: 39px;
  transform: rotate(90deg);
  box-shadow: inset -45px -43px 50px #711400;
}

.five-six {
  width: 159px;
  height: 61px;
  border-radius: 9% 90%;
  top: 116px;
  left: 114px;
  background: #ff6f3b;
  transform: rotate(-30deg);
  box-shadow: inset 10px -10px 53px #cb2c04;
}

.five-seven {
  width: 54px;
  height: 19px;
  border-radius: 50% 30% 90%;
  top: 84px;
  left: 17px;
  background: #ff6f3b;
  transform: rotate(75deg);
  box-shadow: -11px -3px 18px #ff6f3b;
}

.five-eight {
  background: #8c0803;
  width: 53px;
  height: 80px;
  top: 42px;
  left: 36px;
  border-radius: 50%;
  box-shadow: inset 6px -21px 31px;
}

.five-nine {
  width: 93px;
  height: 70px;
  border-radius: 60%;
  top: -49px;
  left: 77px;
  background: #221b11;
}

.five-ten {
  transform: rotate(42deg);
  width: 105px;
  height: 75px;
  border-radius: 50% 50% 60% 31%;
  top: 0px;
  left: 12px;
  background: #e4480b;
  box-shadow: inset 5px -35px 85px #690802;
}

.five-eleven {
  background: #221b11;
  width: 73px;
  height: 21px;
  left: 129px;
  transform: rotate(-20deg);
  top: -13px;
}

.five-twelve {
  width: 94px;
  height: 22px;
  border-radius: 50%;
  top: 126px;
  left: 48px;
  transform: rotate(31deg);
}

.five-thirteen {
  width: 81px;
  height: 18px;
  border-radius: 50%;
  background: #de5c06;
  transform: rotate(30deg);
  box-shadow: -5px -15px 40px;
  top: 124px;
  left: 47px;
}

.five-fourteen {
  width: 179px;
  height: 70px;
  border-radius: 50%;
  background: #701e06;
  bottom: -1px;
  right: 56px;
  transform: rotate(-27deg);
  box-shadow: inset 29px -5px 36px #5d4f06;
}

.flower-six {
  width: 217px;
  height: 262px;
  bottom: 0;
  right: 70px;
}

.six-one {
  background: #801a01;
  background: -moz-linear-gradient(top, rgba(128, 26, 1, 1) 0%, #a14105 100%);
  background: -webkit-gradient(
    left top,
    left bottom,
    color-stop(0%, rgba(128, 26, 1, 1)),
    color-stop(100%, #a14105)
  );
  background: -webkit-linear-gradient(
    top,
    rgba(128, 26, 1, 1) 0%,
    #a14105 100%
  );
  background: -o-linear-gradient(top, rgba(128, 26, 1, 1) 0%, #a14105 100%);
  background: -ms-linear-gradient(top, rgba(128, 26, 1, 1) 0%, #a14105 100%);
  background: linear-gradient(to bottom, rgba(128, 26, 1) 0%, #a14105 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='rgba(128,26,1,1)', endColorstr='#a14105', GradientType=0 );
  box-shadow: inset 0px 34px 71px rgba(0, 0, 0, 0.4);
  width: 205px;
  height: 244px;
  top: 33px;
  border-radius: 60% 40% 70%;
}

.six-two {
  background: #9a2500;
  width: 77px;
  height: 100px;
  top: 38px;
  left: -30px;
  border-radius: 109% 50% 60% 1%;
  box-shadow: inset -5px -5px 24px #c13d0d;
  transform: rotate(-20deg);
}

.six-three {
  background: #c2660f;
  width: 150px;
  height: 165px;
  right: 35px;
  bottom: -3px;
  border-radius: 20% 60% 10% 60%;
  box-shadow: inset 0px 46px 77px #801a01;
}

.six-four {
  background: #9a2500;
  height: 86px;
  width: 30px;
  border-radius: 30% 60%;
  transform: rotate(44deg);
  top: 85px;
  left: 3px;
}

.six-five {
  width: 102px;
  height: 85px;
  background: #350d03;
  border-radius: 50% 40%;
  right: 137px;
  top: 50px;
  box-shadow: 23px 15px 59px;
}

.six-six {
  background: #7b2200;
  width: 125px;
  height: 30px;
  right: 54px;
  border-radius: 60% 30% 99%;
  top: 33px;
  box-shadow: inset 5px 5px 10px #a14105;
}

.six-seven {
  background: #763500;
  width: 20px;
  height: 20px;
  top: 69px;
  left: 42px;
  border-radius: 50% 70%;
}

.six-eight {
  background: #9a2500;
  height: 138px;
  width: 59px;
  border-radius: 30% 60%;
  transform: rotate(-22deg);
  top: 137px;
  left: 3px;
  box-shadow: inset -5px 5px 33px #a14105;
}

.six-nine {
  background: #221b11;
  width: 129px;
  height: 23px;
  border-radius: 10% 60%;
  bottom: -29px;
  transform: rotate(25deg);
}

.six-ten {
  background: #221b11;
  width: 172px;
  height: 57px;
  border-radius: 64% 15%;
  bottom: -39px;
  right: -17px;
  transform: rotate(-40deg);
}

              
            
!

JS

              
                
              
            
!
999px

Console