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 is required to process package imports. If you need a different preprocessor remove all packages first.

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

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="stage">
  <div class="cloud"></div>
  <div class="cloud two"></div>
  <div class="cloud three"></div>
  <div class="cloud four"></div>
  <div class="cloud-sky"></div>
  <div class="cloud-sky front"></div>
  <div class="mountain"></div>
  <div class="mountain front"></div>
  <div class="grass back"></div>
  <div class="grass"></div>
  <div class="grass front">
    <div class="pointer light one"></div>
    <div class="pointer light two"></div>
    <div class="pointer light three"></div>
    <div class="pointer light four"></div>
    <div class="pointer light five"></div>
    <div class="pointer light six"></div>
    <div class="pointer light seven"></div>
    <div class="pointer eight"></div>
    <div class="pointer nine"></div>
    <div class="pointer ten"></div>
    <div class="pointer eleven"></div>
    <div class="pointer twelve"></div>
    <div class="pointer thirteen"></div>
  </div>
  <div class="tree"></div>
  <div class="tree front"></div>
</div>
              
            
!

CSS

              
                :root {
  --sky-color: #9AF4EF;
  --mountain-color: #36B294;
  --mountain-front-color: #00A07D;
  --grass-back-color: #94D75B;
  --grass-color: #71BE63;
  --grass-front-color: #43AB5F;
  --tree-color: #674447;
}

* {
  box-sizing: border-box;
}

html, 
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

body {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.stage {
  width: 400px;
  height: 400px;
  background-color: var(--sky-color);
  border-radius: 50%;
  position: relative;
  overflow: hidden;
}

.cloud {
  width: 65px;
  height: 15px;
  background-color: #fff;
  position: absolute;
  top: 80px;
  left: 70px;
  z-index: 5;
  border-radius: 50px;
}

.cloud.two {
  left: 83px;
  top: 76px;
  opacity: 0.5;
  -webkit-transform: scale(0.95);
          transform: scale(0.95);
}

.cloud.three {
  top: 35px;
  left: 170px;
  opacity: 0.7;
  -webkit-transform: scale(0.8);
          transform: scale(0.8);
}

.cloud.four {
  top: 100px;
  left: 235px;
  opacity: 1;
  opacity: 0.8;
  -webkit-transform: scale(1.3);
          transform: scale(1.3);
}

.cloud:after {
  border-radius: 200px;
  width: 30px;
  height: 30px;
  right: 10px;
  top: -15px;
  background: #fff;
  content: '';
  position: absolute;
  z-indeX: -1;
}

.cloud:before {
  border-radius: 200px;
  width: 22px;
  height: 22px;
  left: 11px;
  top: -10px;
  background: #fff;
  content: '';
  position: absolute;
  z-indeX: -1;
}

.cloud-sky {
  width: 350px;
  height: 350px;
  background-color: rgba(255, 255, 244, 0.2);
  border-radius: 50%;
  position: absolute;
  right: -140px;
  top: 40px;
}

.cloud-sky.front {
  background-color: rgba(255, 255, 244, 0.3);
  width: 230px;
  height: 230px;
  right: -100px;
  top: 130px;
} 

.mountain {
  background-color: var(--mountain-color);
  height: 327px;
  position: absolute;
  z-index: 2;
  bottom: -70px;
  width: 130%;
  border-radius: 0 50%;
  left: -200px;
  -webkit-transform: rotate(15deg);
          transform: rotate(15deg);
}

.mountain.front {
  background-color: var(--mountain-front-color);
  z-index: 3;
  bottom: -95px;
  -webkit-transform: rotate(8deg);
          transform: rotate(8deg);
}

.grass.back {
  background-color: var(--grass-back-color);
  height: 327px;
  position: absolute;
  z-index: 4;
  bottom: -180px;
  width: 170%;
  border-radius: 50%;
  left: -150px;
  -webkit-transform: rotate(30deg);
          transform: rotate(30deg);
}

.grass {
  background-color: var(--grass-color);
  height: 325px;
  position: absolute;
  z-index: 4;
  bottom: -135px;
  width: 150%;
  border-radius: 60% 40%;
  right: -160px;
  -webkit-transform: rotate(-5deg);
          transform: rotate(-5deg);
}

.grass.front {
  background-color: var(--grass-front-color);
  bottom: -160px;
  width: 130%;
  border-radius: 55% 40%;
  right: -175px;
}

.tree {
  width: 8px;
  height: 40px;
  background-color: var(--tree-color);
  border-radius: 20px;
  position: absolute;
  z-index: 4;
  right: 130px;
  top: 185px;
}

.tree.front {
  right: 60px;
  transform: scale(0.7);
  z-index: 1;
  top: 180px;
}

.tree:after {
  content: '';
  width: 45px;
  height: 65px;
  background-color: var(--grass-color);
  position: absolute;
  border-radius: 100% 100% 100% 100% / 150% 150% 50% 50%;
  top: -52px;
  left: -18px;
}

.tree:before {
  content: '';
  width: 45px;
  height: 65px;
  background-color: var(--grass-front-color);
  position: absolute;
  border-radius: 100% 100% 100% 100% / 150% 150% 50% 50%;
  top: -42px;
  left: -18px;
  z-index: 4;
  transform: scale(0.7);
}

.pointer {
  width: 12px;
  height: 12px;
  border-radius: 100%;
  position: absolute;
  z-index: 10;
  background-color: #B0EB81;
}

.pointer.one {
  right: 210px;
  top: 20px;
}

.pointer.two {
  right: 250px;
  top: 35px;
}

.pointer.three {
  right: 300px;
  top: 25px;
}

.pointer.four {
  right: 260px;
  top: 95px;
}

.pointer.five {
  right: 330px;
  top: 115px;
}

.pointer.six {
  right: 370px;
  top: 75px;
}

.pointer.seven {
  right: 450px;
  top: 95px;
}

.pointer.eight {
  right: 230px;
  top: 60px;
}

.pointer.nine {
  right: 270px;
  top: 63px;
}

.pointer.ten {
  right: 300px;
  top: 93px;
}

.pointer.eleven {
  right: 320px;
  top: 53px;
}

.pointer.twelve {
  right: 420px;
  top: 83px;
}

.pointer.thirteen {
  right: 380px;
  top: 120px;
}

.light {
  background-color: var(--grass-color);
}
              
            
!

JS

              
                
              
            
!
999px

Console