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="base">
   <div class="asanoha"></div>
</div>
              
            
!

CSS

              
                .base {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  height: 100vh;
  width: 100vw;
  margin: -8px;
  padding-top: 1vh;
}

.asanoha{
  height: 100%;
  width: 100%;
  background:
	linear-gradient(90deg, pink 20px, transparent 20px, transparent calc(100% - 20px), pink calc(100% - 20px)) 0 0 / 120px 70px,
	linear-gradient(0deg, darkred 2px, transparent 2px) 0 39px / 80px 69px,
	pink;
}
.asanoha:before,
.asanoha:after {
	content: '';
	position: absolute;
	top: 5px;
	left: 0;
	width: 100%;
	height: 100%;
	mix-blend-mode: multiply;
}
.asanoha:before{
  background:
	linear-gradient(90deg, darkred 2px, transparent 2px) 0 0 / 60px 140px,
	linear-gradient(30deg, transparent 50%, darkred 50%, darkred calc(50% + 2px), transparent calc(50% + 2px)) 0 0 / 120px 70px,
	linear-gradient(-30deg, transparent 50%, darkred 50%, darkred calc(50% + 2px), transparent calc(50% + 2px)) 0 0 / 120px 70px,
	linear-gradient(90deg, transparent 40px, #fff 40px, #fff calc(100% - 40px), transparent calc(100% - 40px)) 0 0 / 120px 70px,
	linear-gradient(0deg, darkred 2px, transparent 1px) 0 0 / 40px 70px;
}
.asanoha:after {
	background:
	linear-gradient(90deg, #fff 20px, transparent 20px) 20px 0 / 60px 70px,
	linear-gradient(-60deg, transparent calc(50% - 2px), darkred calc(50% - 2px), darkred calc(50% + 1px), transparent calc(50% + 1px)) 0 0 / 40px 70px,
	linear-gradient(60deg, transparent calc(50% - 2px), darkred calc(50% - 2px), darkred calc(50% + 1px), transparent calc(50% + 1px)) 0 0 / 40px 70px;
}
              
            
!

JS

              
                
              
            
!
999px

Console