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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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="dot"></div>

              
            
!

CSS

              
                .dot{
	position:relative;
	width: 289px;
	height: 289px;
	margin:0 auto;
}

.dot::before {
	content: "";
	position:absolute;
	top: -17px;
	left: -17px;
	width: 17px;
	height: 17px;
	background: transparent;

	box-shadow:
	17px 17px 0 rgb(255, 128, 128),
	34px 17px 0 rgb(255, 128, 128),
	51px 17px 0 rgb(255, 128, 128),
	68px 17px 0 rgb(255, 128, 128),
	85px 17px 0 rgb(255, 128, 128),
	102px 17px 0 rgb(255, 128, 128),
	119px 17px 0 rgb(255, 128, 128),
	136px 17px 0 rgb(255, 128, 128),
	153px 17px 0 rgb(255, 128, 128),
	170px 17px 0 rgb(255, 128, 128),
	187px 17px 0 rgb(255, 128, 128),
	204px 17px 0 rgb(255, 128, 128),
	221px 17px 0 rgb(255, 128, 128),
	238px 17px 0 rgb(255, 128, 128),
	255px 17px 0 rgb(255, 128, 128),
	272px 17px 0 rgb(255, 128, 128),
	289px 17px 0 rgb(255, 128, 128),
	17px 34px 0 rgb(255, 128, 128),
	34px 34px 0 rgb(255, 128, 128),
	51px 34px 0 rgb(255, 128, 128),
	68px 34px 0 rgb(255, 128, 128),
	85px 34px 0 rgb(255, 128, 128),
	102px 34px 0 rgb(255, 128, 128),
	119px 34px 0 rgb(255, 128, 128),
	136px 34px 0 rgb(255, 128, 128),
	153px 34px 0 rgb(255, 128, 128),
	170px 34px 0 rgb(255, 128, 128),
	187px 34px 0 rgb(255, 128, 128),
	204px 34px 0 rgb(255, 128, 128),
	221px 34px 0 rgb(255, 128, 128),
	238px 34px 0 rgb(255, 128, 128),
	255px 34px 0 rgb(255, 128, 128),
	272px 34px 0 rgb(255, 128, 128),
	289px 34px 0 rgb(255, 128, 128),
	17px 51px 0 rgb(255, 128, 128),
	34px 51px 0 rgb(255, 128, 128),
	51px 51px 0 rgb(255, 128, 128),
	68px 51px 0 rgb(255, 128, 128),
	85px 51px 0 rgb(255, 128, 128),
	102px 51px 0 rgb(255, 128, 128),
	119px 51px 0 rgb(255, 128, 128),
	136px 51px 0 rgb(255, 128, 128),
	153px 51px 0 rgb(255, 128, 128),
	170px 51px 0 rgb(255, 128, 128),
	187px 51px 0 rgb(255, 128, 128),
	204px 51px 0 rgb(255, 128, 128),
	221px 51px 0 rgb(255, 128, 128),
	238px 51px 0 rgb(255, 128, 128),
	255px 51px 0 rgb(255, 128, 128),
	272px 51px 0 rgb(255, 128, 128),
	289px 51px 0 rgb(255, 128, 128),
	17px 68px 0 rgb(255, 128, 128),
	34px 68px 0 rgb(255, 128, 128),
	51px 68px 0 rgb(0, 0, 0),
	68px 68px 0 rgb(0, 0, 0),
	85px 68px 0 rgb(255, 128, 128),
	102px 68px 0 rgb(255, 128, 128),
	119px 68px 0 rgb(255, 128, 128),
	136px 68px 0 rgb(255, 128, 128),
	153px 68px 0 rgb(255, 128, 128),
	170px 68px 0 rgb(255, 128, 128),
	187px 68px 0 rgb(255, 128, 128),
	204px 68px 0 rgb(255, 128, 128),
	221px 68px 0 rgb(255, 128, 128),
	238px 68px 0 rgb(0, 0, 0),
	255px 68px 0 rgb(0, 0, 0),
	272px 68px 0 rgb(255, 128, 128),
	289px 68px 0 rgb(255, 128, 128),
	17px 85px 0 rgb(255, 128, 128),
	34px 85px 0 rgb(0, 0, 0),
	51px 85px 0 rgb(0, 0, 0),
	68px 85px 0 rgb(0, 0, 0),
	85px 85px 0 rgb(0, 0, 0),
	102px 85px 0 rgb(255, 128, 128),
	119px 85px 0 rgb(255, 128, 128),
	136px 85px 0 rgb(255, 128, 128),
	153px 85px 0 rgb(255, 128, 128),
	170px 85px 0 rgb(255, 128, 128),
	187px 85px 0 rgb(255, 128, 128),
	204px 85px 0 rgb(255, 128, 128),
	221px 85px 0 rgb(0, 0, 0),
	238px 85px 0 rgb(0, 0, 0),
	255px 85px 0 rgb(0, 0, 0),
	272px 85px 0 rgb(0, 0, 0),
	289px 85px 0 rgb(255, 128, 128),
	17px 102px 0 rgb(0, 0, 0),
	34px 102px 0 rgb(0, 0, 0),
	51px 102px 0 rgb(0, 0, 0),
	68px 102px 0 rgb(0, 0, 0),
	85px 102px 0 rgb(0, 0, 0),
	102px 102px 0 rgb(255, 128, 128),
	119px 102px 0 rgb(255, 255, 255),
	136px 102px 0 rgb(255, 255, 255),
	153px 102px 0 rgb(255, 255, 255),
	170px 102px 0 rgb(255, 255, 255),
	187px 102px 0 rgb(255, 255, 255),
	204px 102px 0 rgb(255, 128, 128),
	221px 102px 0 rgb(0, 0, 0),
	238px 102px 0 rgb(0, 0, 0),
	255px 102px 0 rgb(0, 0, 0),
	272px 102px 0 rgb(0, 0, 0),
	289px 102px 0 rgb(0, 0, 0),
	17px 119px 0 rgb(0, 0, 0),
	34px 119px 0 rgb(0, 0, 0),
	51px 119px 0 rgb(0, 0, 0),
	68px 119px 0 rgb(0, 0, 0),
	85px 119px 0 rgb(255, 255, 255),
	102px 119px 0 rgb(255, 255, 255),
	119px 119px 0 rgb(255, 255, 255),
	136px 119px 0 rgb(255, 255, 255),
	153px 119px 0 rgb(255, 255, 255),
	170px 119px 0 rgb(255, 255, 255),
	187px 119px 0 rgb(255, 255, 255),
	204px 119px 0 rgb(255, 255, 255),
	221px 119px 0 rgb(255, 255, 255),
	238px 119px 0 rgb(0, 0, 0),
	255px 119px 0 rgb(0, 0, 0),
	272px 119px 0 rgb(0, 0, 0),
	289px 119px 0 rgb(0, 0, 0),
	17px 136px 0 rgb(255, 128, 128),
	34px 136px 0 rgb(0, 0, 0),
	51px 136px 0 rgb(0, 0, 0),
	68px 136px 0 rgb(255, 255, 255),
	85px 136px 0 rgb(255, 255, 255),
	102px 136px 0 rgb(255, 255, 255),
	119px 136px 0 rgb(255, 255, 255),
	136px 136px 0 rgb(255, 255, 255),
	153px 136px 0 rgb(255, 255, 255),
	170px 136px 0 rgb(255, 255, 255),
	187px 136px 0 rgb(255, 255, 255),
	204px 136px 0 rgb(255, 255, 255),
	221px 136px 0 rgb(255, 255, 255),
	238px 136px 0 rgb(255, 255, 255),
	255px 136px 0 rgb(0, 0, 0),
	272px 136px 0 rgb(0, 0, 0),
	289px 136px 0 rgb(255, 128, 128),
	17px 153px 0 rgb(255, 128, 128),
	34px 153px 0 rgb(255, 128, 128),
	51px 153px 0 rgb(255, 255, 255),
	68px 153px 0 rgb(255, 255, 255),
	85px 153px 0 rgb(255, 255, 255),
	102px 153px 0 rgb(255, 255, 255),
	119px 153px 0 rgb(255, 255, 255),
	136px 153px 0 rgb(255, 255, 255),
	153px 153px 0 rgb(255, 255, 255),
	170px 153px 0 rgb(255, 255, 255),
	187px 153px 0 rgb(255, 255, 255),
	204px 153px 0 rgb(255, 255, 255),
	221px 153px 0 rgb(255, 255, 255),
	238px 153px 0 rgb(255, 255, 255),
	255px 153px 0 rgb(255, 255, 255),
	272px 153px 0 rgb(255, 128, 128),
	289px 153px 0 rgb(255, 128, 128),
	17px 170px 0 rgb(255, 128, 128),
	34px 170px 0 rgb(255, 128, 128),
	51px 170px 0 rgb(255, 255, 255),
	68px 170px 0 rgb(255, 255, 255),
	85px 170px 0 rgb(255, 255, 255),
	102px 170px 0 rgb(0, 0, 0),
	119px 170px 0 rgb(0, 0, 0),
	136px 170px 0 rgb(255, 255, 255),
	153px 170px 0 rgb(255, 255, 255),
	170px 170px 0 rgb(255, 255, 255),
	187px 170px 0 rgb(0, 0, 0),
	204px 170px 0 rgb(0, 0, 0),
	221px 170px 0 rgb(255, 255, 255),
	238px 170px 0 rgb(255, 255, 255),
	255px 170px 0 rgb(255, 255, 255),
	272px 170px 0 rgb(255, 128, 128),
	289px 170px 0 rgb(255, 128, 128),
	17px 187px 0 rgb(255, 128, 128),
	34px 187px 0 rgb(255, 128, 128),
	51px 187px 0 rgb(255, 255, 255),
	68px 187px 0 rgb(255, 255, 255),
	85px 187px 0 rgb(0, 0, 0),
	102px 187px 0 rgb(0, 0, 0),
	119px 187px 0 rgb(0, 0, 0),
	136px 187px 0 rgb(255, 255, 255),
	153px 187px 0 rgb(255, 255, 255),
	170px 187px 0 rgb(255, 255, 255),
	187px 187px 0 rgb(0, 0, 0),
	204px 187px 0 rgb(0, 0, 0),
	221px 187px 0 rgb(0, 0, 0),
	238px 187px 0 rgb(255, 255, 255),
	255px 187px 0 rgb(255, 255, 255),
	272px 187px 0 rgb(255, 128, 128),
	289px 187px 0 rgb(255, 128, 128),
	17px 204px 0 rgb(255, 128, 128),
	34px 204px 0 rgb(255, 255, 255),
	51px 204px 0 rgb(255, 255, 255),
	68px 204px 0 rgb(255, 255, 255),
	85px 204px 0 rgb(0, 0, 0),
	102px 204px 0 rgb(0, 0, 0),
	119px 204px 0 rgb(0, 0, 0),
	136px 204px 0 rgb(255, 255, 255),
	153px 204px 0 rgb(255, 255, 255),
	170px 204px 0 rgb(255, 255, 255),
	187px 204px 0 rgb(0, 0, 0),
	204px 204px 0 rgb(0, 0, 0),
	221px 204px 0 rgb(0, 0, 0),
	238px 204px 0 rgb(255, 255, 255),
	255px 204px 0 rgb(255, 255, 255),
	272px 204px 0 rgb(255, 255, 255),
	289px 204px 0 rgb(255, 128, 128),
	17px 221px 0 rgb(255, 128, 128),
	34px 221px 0 rgb(255, 255, 255),
	51px 221px 0 rgb(255, 255, 255),
	68px 221px 0 rgb(255, 255, 255),
	85px 221px 0 rgb(0, 0, 0),
	102px 221px 0 rgb(0, 0, 0),
	119px 221px 0 rgb(255, 255, 255),
	136px 221px 0 rgb(255, 255, 255),
	153px 221px 0 rgb(255, 255, 255),
	170px 221px 0 rgb(255, 255, 255),
	187px 221px 0 rgb(255, 255, 255),
	204px 221px 0 rgb(0, 0, 0),
	221px 221px 0 rgb(0, 0, 0),
	238px 221px 0 rgb(255, 255, 255),
	255px 221px 0 rgb(255, 255, 255),
	272px 221px 0 rgb(255, 255, 255),
	289px 221px 0 rgb(255, 128, 128),
	17px 238px 0 rgb(255, 128, 128),
	34px 238px 0 rgb(255, 255, 255),
	51px 238px 0 rgb(255, 255, 255),
	68px 238px 0 rgb(255, 255, 255),
	85px 238px 0 rgb(255, 255, 255),
	102px 238px 0 rgb(255, 255, 255),
	119px 238px 0 rgb(255, 255, 255),
	136px 238px 0 rgb(0, 0, 0),
	153px 238px 0 rgb(0, 0, 0),
	170px 238px 0 rgb(0, 0, 0),
	187px 238px 0 rgb(255, 255, 255),
	204px 238px 0 rgb(255, 255, 255),
	221px 238px 0 rgb(255, 255, 255),
	238px 238px 0 rgb(255, 255, 255),
	255px 238px 0 rgb(255, 255, 255),
	272px 238px 0 rgb(255, 255, 255),
	289px 238px 0 rgb(255, 128, 128),
	17px 255px 0 rgb(255, 128, 128),
	34px 255px 0 rgb(255, 255, 255),
	51px 255px 0 rgb(255, 255, 255),
	68px 255px 0 rgb(255, 255, 255),
	85px 255px 0 rgb(255, 255, 255),
	102px 255px 0 rgb(255, 255, 255),
	119px 255px 0 rgb(255, 255, 255),
	136px 255px 0 rgb(255, 255, 255),
	153px 255px 0 rgb(0, 0, 0),
	170px 255px 0 rgb(255, 255, 255),
	187px 255px 0 rgb(255, 255, 255),
	204px 255px 0 rgb(255, 255, 255),
	221px 255px 0 rgb(255, 255, 255),
	238px 255px 0 rgb(255, 255, 255),
	255px 255px 0 rgb(255, 255, 255),
	272px 255px 0 rgb(255, 255, 255),
	289px 255px 0 rgb(255, 128, 128),
	17px 272px 0 rgb(255, 128, 128),
	34px 272px 0 rgb(255, 128, 128),
	51px 272px 0 rgb(255, 255, 255),
	68px 272px 0 rgb(255, 255, 255),
	85px 272px 0 rgb(255, 255, 255),
	102px 272px 0 rgb(255, 255, 255),
	119px 272px 0 rgb(255, 255, 255),
	136px 272px 0 rgb(255, 255, 255),
	153px 272px 0 rgb(255, 255, 255),
	170px 272px 0 rgb(255, 255, 255),
	187px 272px 0 rgb(255, 255, 255),
	204px 272px 0 rgb(255, 255, 255),
	221px 272px 0 rgb(255, 255, 255),
	238px 272px 0 rgb(255, 255, 255),
	255px 272px 0 rgb(255, 255, 255),
	272px 272px 0 rgb(255, 128, 128),
	289px 272px 0 rgb(255, 128, 128),
	17px 289px 0 rgb(255, 128, 128),
	34px 289px 0 rgb(255, 128, 128),
	51px 289px 0 rgb(255, 128, 128),
	68px 289px 0 rgb(255, 255, 255),
	85px 289px 0 rgb(255, 255, 255),
	102px 289px 0 rgb(255, 255, 255),
	119px 289px 0 rgb(255, 255, 255),
	136px 289px 0 rgb(255, 255, 255),
	153px 289px 0 rgb(255, 255, 255),
	170px 289px 0 rgb(255, 255, 255),
	187px 289px 0 rgb(255, 255, 255),
	204px 289px 0 rgb(255, 255, 255),
	221px 289px 0 rgb(255, 255, 255),
	238px 289px 0 rgb(255, 255, 255),
	255px 289px 0 rgb(255, 128, 128),
	272px 289px 0 rgb(255, 128, 128),
	289px 289px 0 rgb(255, 128, 128);
}
              
            
!

JS

              
                
              
            
!
999px

Console