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

              
                <!--by https://github.com/n3r4zzurr0/svg-spinners-->

<svg width="36" height="36" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
	<g>
		<circle cx="12" cy="3" r="1">
			<animate id="a" begin="0;l.end-0.5s" attributeName="r" calcMode="spline" dur="0.6s" values="1;2;1" keySplines=".27,.42,.37,.99;.53,0,.61,.73" />
		</circle>
		<circle cx="16.50" cy="4.21" r="1">
			<animate id="b" begin="a.begin+0.1s" attributeName="r" calcMode="spline" dur="0.6s" values="1;2;1" keySplines=".27,.42,.37,.99;.53,0,.61,.73" />
		</circle>
		<circle cx="7.50" cy="4.21" r="1">
			<animate id="l" begin="k.begin+0.1s" attributeName="r" calcMode="spline" dur="0.6s" values="1;2;1" keySplines=".27,.42,.37,.99;.53,0,.61,.73" />
		</circle>
		<circle cx="19.79" cy="7.50" r="1">
			<animate id="c" begin="b.begin+0.1s" attributeName="r" calcMode="spline" dur="0.6s" values="1;2;1" keySplines=".27,.42,.37,.99;.53,0,.61,.73" />
		</circle>
		<circle cx="4.21" cy="7.50" r="1">
			<animate id="k" begin="j.begin+0.1s" attributeName="r" calcMode="spline" dur="0.6s" values="1;2;1" keySplines=".27,.42,.37,.99;.53,0,.61,.73" />
		</circle>
		<circle cx="21.00" cy="12.00" r="1">
			<animate id="d" begin="c.begin+0.1s" attributeName="r" calcMode="spline" dur="0.6s" values="1;2;1" keySplines=".27,.42,.37,.99;.53,0,.61,.73" />
		</circle>
		<circle cx="3.00" cy="12.00" r="1">
			<animate id="j" begin="i.begin+0.1s" attributeName="r" calcMode="spline" dur="0.6s" values="1;2;1" keySplines=".27,.42,.37,.99;.53,0,.61,.73" />
		</circle>
		<circle cx="19.79" cy="16.50" r="1">
			<animate id="e" begin="d.begin+0.1s" attributeName="r" calcMode="spline" dur="0.6s" values="1;2;1" keySplines=".27,.42,.37,.99;.53,0,.61,.73" />
		</circle>
		<circle cx="4.21" cy="16.50" r="1">
			<animate id="i" begin="h.begin+0.1s" attributeName="r" calcMode="spline" dur="0.6s" values="1;2;1" keySplines=".27,.42,.37,.99;.53,0,.61,.73" />
		</circle>
		<circle cx="16.50" cy="19.79" r="1">
			<animate id="f" begin="e.begin+0.1s" attributeName="r" calcMode="spline" dur="0.6s" values="1;2;1" keySplines=".27,.42,.37,.99;.53,0,.61,.73" />
		</circle>
		<circle cx="7.50" cy="19.79" r="1">
			<animate id="h" begin="g.begin+0.1s" attributeName="r" calcMode="spline" dur="0.6s" values="1;2;1" keySplines=".27,.42,.37,.99;.53,0,.61,.73" />
		</circle>
		<circle cx="12" cy="21" r="1">
			<animate id="g" begin="f.begin+0.1s" attributeName="r" calcMode="spline" dur="0.6s" values="1;2;1" keySplines=".27,.42,.37,.99;.53,0,.61,.73" />
		</circle>
		<animateTransform attributeName="transform" type="rotate" dur="6s" values="360 12 12;0 12 12" repeatCount="indefinite" />
	</g>
</svg>

<svg width="36" height="36" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
	<path d="M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm0,19a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z" opacity=".25" />
	<path d="M12,4a8,8,0,0,1,7.89,6.7A1.53,1.53,0,0,0,21.38,12h0a1.5,1.5,0,0,0,1.48-1.75,11,11,0,0,0-21.72,0A1.5,1.5,0,0,0,2.62,12h0a1.53,1.53,0,0,0,1.49-1.3A8,8,0,0,1,12,4Z">
		<animateTransform attributeName="transform" type="rotate" dur="0.75s" values="0 12 12;360 12 12" repeatCount="indefinite" />
	</path>
</svg>

<svg width="36" height="36" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
	<circle cx="12" cy="12" r="3" />
	<g>
		<circle cx="4" cy="12" r="3" />
		<circle cx="20" cy="12" r="3" />
		<animateTransform attributeName="transform" type="rotate" calcMode="spline" dur="1s" keySplines=".36,.6,.31,1;.36,.6,.31,1" values="0 12 12;180 12 12;360 12 12" repeatCount="indefinite" />
	</g>
</svg>

<svg width="36" height="36" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
	<rect x="1.5" y="1.5" rx="1" width="9" height="9">
		<animate id="a" begin="0;b.end+0.15s" attributeName="x" dur="0.6s" values="1.5;.5;1.5" keyTimes="0;.2;1" />
		<animate begin="0;b.end+0.15s" attributeName="y" dur="0.6s" values="1.5;.5;1.5" keyTimes="0;.2;1" />
		<animate begin="0;b.end+0.15s" attributeName="width" dur="0.6s" values="9;11;9" keyTimes="0;.2;1" />
		<animate begin="0;b.end+0.15s" attributeName="height" dur="0.6s" values="9;11;9" keyTimes="0;.2;1" />
	</rect>
	<rect x="13.5" y="1.5" rx="1" width="9" height="9">
		<animate begin="a.begin+0.15s" attributeName="x" dur="0.6s" values="13.5;12.5;13.5" keyTimes="0;.2;1" />
		<animate begin="a.begin+0.15s" attributeName="y" dur="0.6s" values="1.5;.5;1.5" keyTimes="0;.2;1" />
		<animate begin="a.begin+0.15s" attributeName="width" dur="0.6s" values="9;11;9" keyTimes="0;.2;1" />
		<animate begin="a.begin+0.15s" attributeName="height" dur="0.6s" values="9;11;9" keyTimes="0;.2;1" />
	</rect>
	<rect x="13.5" y="13.5" rx="1" width="9" height="9">
		<animate begin="a.begin+0.3s" attributeName="x" dur="0.6s" values="13.5;12.5;13.5" keyTimes="0;.2;1" />
		<animate begin="a.begin+0.3s" attributeName="y" dur="0.6s" values="13.5;12.5;13.5" keyTimes="0;.2;1" />
		<animate begin="a.begin+0.3s" attributeName="width" dur="0.6s" values="9;11;9" keyTimes="0;.2;1" />
		<animate begin="a.begin+0.3s" attributeName="height" dur="0.6s" values="9;11;9" keyTimes="0;.2;1" />
	</rect>
	<rect x="1.5" y="13.5" rx="1" width="9" height="9">
		<animate id="b" begin="a.begin+0.45s" attributeName="x" dur="0.6s" values="1.5;.5;1.5" keyTimes="0;.2;1" />
		<animate begin="a.begin+0.45s" attributeName="y" dur="0.6s" values="13.5;12.5;13.5" keyTimes="0;.2;1" />
		<animate begin="a.begin+0.45s" attributeName="width" dur="0.6s" values="9;11;9" keyTimes="0;.2;1" />
		<animate begin="a.begin+0.45s" attributeName="height" dur="0.6s" values="9;11;9" keyTimes="0;.2;1" />
	</rect>
</svg>

<svg width="36" height="36" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
	<rect x="1" y="4" width="6" height="14" opacity="1">
		<animate id="a" begin="0;b.end-0.25s" attributeName="opacity" dur="0.75s" values="1;.2" fill="freeze" />
	</rect>
	<rect x="9" y="4" width="6" height="14" opacity=".4">
		<animate begin="a.begin+0.15s" attributeName="opacity" dur="0.75s" values="1;.2" fill="freeze" />
	</rect>
	<rect x="17" y="4" width="6" height="14" opacity=".3">
		<animate id="b" begin="a.begin+0.3s" attributeName="opacity" dur="0.75s" values="1;.2" fill="freeze" />
	</rect>
</svg>

<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
	<circle cx="12" cy="12" r="0">
		<animate id="a" begin="0;c.end" attributeName="r" calcMode="spline" dur="1.2s" values="0;11" keySplines=".52,.6,.25,.99" fill="freeze" />
		<animate begin="0;c.end" attributeName="opacity" calcMode="spline" dur="1.2s" values="1;0" keySplines=".52,.6,.25,.99" fill="freeze" />
	</circle>
	<circle cx="12" cy="12" r="0">
		<animate id="b" begin="a.begin+0.2s" attributeName="r" calcMode="spline" dur="1.2s" values="0;11" keySplines=".52,.6,.25,.99" fill="freeze" />
		<animate begin="a.begin+0.2s" attributeName="opacity" calcMode="spline" dur="1.2s" values="1;0" keySplines=".52,.6,.25,.99" fill="freeze" />
	</circle>
	<circle cx="12" cy="12" r="0">
		<animate id="c" begin="a.begin+0.4s" attributeName="r" calcMode="spline" dur="1.2s" values="0;11" keySplines=".52,.6,.25,.99" fill="freeze" />
		<animate begin="a.begin+0.4s" attributeName="opacity" calcMode="spline" dur="1.2s" values="1;0" keySplines=".52,.6,.25,.99" fill="freeze" />
	</circle>
</svg>

<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
	<circle cx="12" cy="12" r="0">
		<animate attributeName="r" calcMode="spline" dur="1.2s" values="0;11" keySplines=".52,.6,.25,.99" repeatCount="indefinite" />
		<animate attributeName="opacity" calcMode="spline" dur="1.2s" values="1;0" keySplines=".52,.6,.25,.99" repeatCount="indefinite" />
	</circle>
</svg>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console