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 class="container">
  <div class="zlp"></div>
</div>

<!-- <div class="gdt"></div> -->
              
            
!

CSS

              
                body {
  background-color: white;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 50px;
}

.container {
  position: relative;
  height: 550px;
  width: 550px;
}

.zlp {
  color: #b4ddd0;
  width: 512px;
  height: 512px;
    
  border-radius: 50%;
  
  background: 
    linear-gradient(
      61deg,
      currentColor 51%,
      transparent 52%,
      transparent 100%
    ) 140px 124px / 34px 68px,
    
    linear-gradient(
      90deg,
      #1e965a 0%,
      #19492b 100%
    ) 140px 125px / 200px 60px,
    
    currentColor;
  
  background-repeat: no-repeat;
}

.zlp:before {
  content: "";
  width: 60px;
  height: 280px;
  position: absolute;
  left: 234px;
  top: 105px;
  border: none;
  
  background:
   linear-gradient(
      -160deg,
      transparent 0%,
      transparent 50%,
      currentColor 51%,
      currentColor 100%
    ) 0px 238px / 60px 60px,
    
    linear-gradient(
      0deg,
      #1e965a 0%,
      #19492b 100%
    );
  
  background-repeat: no-repeat;
  transform: rotate(-135deg);
}

.zlp:after {
  content: "";
  width: 230px;
  height: 60px;
  position: absolute;
  left: 145px;
  top: 324px;
  
  background:
    linear-gradient(
      61deg,
      transparent 51%,
      currentColor 52%,
      currentColor 100%
    ) 198px 0 / 34px 68px, 
    
   linear-gradient(
      61deg,
      currentColor 51%,
      transparent 52%,
      transparent 100%
    ) 0 0 / 34px 68px,
    
    linear-gradient(
      90deg,
      #1e965a 0%,
      #19492b 100%
    );
  
  background-repeat: no-repeat;
}

/* .gdt {
  color: red;
  height: 265px;
  width: 230px;
  border: 1px solid black;
  
  background:
    linear-gradient(
      130deg,
      transparent 40%,
      currentColor 38%,
      currentColor 60%,
      transparent 60%
    );
  
  background-repeat: no-repeat;
} */
              
            
!

JS

              
                
              
            
!
999px

Console