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

Auto Save

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

              
                <svg width="600" height="600">
   <filter id="inset-shadow" x="-50%" y="-50%" width="200%" height="200%">
    <feComponentTransfer in=SourceAlpha>
      <feFuncA type="table" tableValues="1 0" />
    </feComponentTransfer>
    <feGaussianBlur stdDeviation="4"/>
    <feOffset dx="0" dy="5" result="offsetblur"/>
    <feFlood flood-color="rgb(0, 0, 0)" result="color"/>
    <feComposite in2="offsetblur" operator="in"/>
    <feComposite in2="SourceAlpha" operator="in" />
    <feMerge>
      <feMergeNode in="SourceGraphic" />
      <feMergeNode />
    </feMerge>
  </filter>
	<circle cx=50% cy=50% r=295 fill=#f9f9f9 filter="url(#inset-shadow)" />
	<circle cx=50% cy=50% r=265 fill=#eff4f4 filter="url(#inset-shadow)" />
	<circle cx=50% cy=50% r=236 fill=#E6F3F1 filter="url(#inset-shadow)" />
	<circle cx=50% cy=50% r=208 fill=#C9E7EA filter="url(#inset-shadow)" />
	<circle cx=50% cy=50% r=181 fill=#C0E5FA filter="url(#inset-shadow)" />
	<circle cx=50% cy=50% r=155 fill=#6EC6D8 filter="url(#inset-shadow)" />
  <circle cx=50% cy=50% r=130 fill=#EE7643 filter="url(#inset-shadow)" />
	<circle cx=50% cy=50% r=106 fill=#ED6A76 filter="url(#inset-shadow)" />
	<circle cx=50% cy=50% r=83 fill=#E93C8C filter="url(#inset-shadow)" />
	<circle cx=50% cy=50% r=61 fill=#854896 filter="url(#inset-shadow)" />
  <circle cx=50% cy=50% r=40 fill=#1D2443 filter="url(#inset-shadow)" />
	<circle cx=50% cy=50% r=20 fill=#171C24 filter="url(#inset-shadow)" />
</svg>
              
            
!

CSS

              
                body {
	margin: 0px;
	height: 100vh;
}

svg {
	height: 100%;
  margin: auto;
  text-align: center;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  align-items: center;
  justify-content: center;
}
              
            
!

JS

              
                
              
            
!
999px

Console