cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

            
              		<div class="loaderParent">
		<div class="animatedCircle"></div><span class="loading">Loading<span class="dot"></span><span class="dot"></span><span class="dot"></span></span>
		</div>
            
          
!
            
              			body{
				font-family:'courier';
			}
		
			.loaderParent{
				font-size:8px;
				display:inline-block;
				position:relative;
				top:20px;
				left:50px;
				height:3em;
				text-align:center;
				width:220px;
				border-radius:20px;
				border:3px solid gray;
				/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,f1f1f1+50,e1e1e1+51,f6f6f6+100;White+Gloss+%231 */
				background: #ffffff; /* Old browsers */
				background: -moz-linear-gradient(top,  #ffffff 0%, #f1f1f1 50%, #e1e1e1 51%, #f6f6f6 100%); /* FF3.6-15 */
				background: -webkit-linear-gradient(top,  #ffffff 0%,#f1f1f1 50%,#e1e1e1 51%,#f6f6f6 100%); /* Chrome10-25,Safari5.1-6 */
				background: linear-gradient(to bottom,  #ffffff 0%,#f1f1f1 50%,#e1e1e1 51%,#f6f6f6 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
				filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f6f6f6',GradientType=0 ); /* IE6-9 */
				box-shadow:5px 5px 10px 0px gray;
			}
			.loaderParent > .animatedCircle{
				position:relative;
				display:inline-block;
				border-left:4px solid #C23B22;
				border-top:4px solid #FFB347;
				border-right:4px solid #C23B22;
				border-bottom:4px solid #FFB347;
				background-color:transparent;
				width:10px;
				height:10px;
				border-radius:10px;
				animation: ROTATE 2.5s infinite linear forwards;
				filter:blur(0px);
			}
			
			.loaderParent > .loading{
				font-weight:bold;
				position:relative;
				top:-0.10em;
				font-size:3em;
				left:0.5em;
			}
			
			.loaderParent > .loading > .dot:after{
				content:'.';
				font-size:1em;
				
			}
			
			.loaderParent > .loading > .dot:nth-child(1){
				animation: DOTS 1s infinite linear alternate forwards;
				opacity:0;
			}
			
			.loaderParent > .loading > .dot:nth-child(2){
				animation: DOTS 1s 0.5s infinite linear alternate forwards;
				opacity:0;
			}
			
			.loaderParent > .loading > .dot:nth-child(3){
				animation: DOTS 1s 1s infinite linear alternate forwards;
				opacity:0;
			}
			
			@keyframes DOTS{
				0%{
					opacity:0;
				}
				100%{
					opacity:1;
				}
			}
			
			@keyframes ROTATE{
				0%{
					transform: rotateZ(0deg) rotateY(0deg);
					border-left:4px solid #C23B22;
					border-top:4px solid #FFB347;
					border-right:4px solid #C23B22;
					border-bottom:4px solid #FFB347;
				}
				50%{
					transform: rotateZ(180deg) rotateY(90deg);
					border-left:4px solid #FFB347;
					border-top:4px solid #C23B22;
					border-right:4px solid #FFB347;
					border-bottom:4px solid #C23B22;
				}
				100%{

					transform: rotateZ(360deg) rotateY(0deg);
					border-left:4px solid #C23B22;
					border-top:4px solid #FFB347;
					border-right:4px solid #C23B22;
					border-bottom:4px solid #FFB347;
				}
			}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console