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. 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

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

              
                <!--Loading animation starts here-->
<div class="row clearfix">
 <div class="square one"></div> 
<div class="square two"></div>
<div class="square three"></div>
</div>

<div class="row clearfix">
 <div class="square eight"></div> 
<div class="square nine"></div>
<div class="square four"></div>
</div>

<div class="row clearfix">
 <div class="square seven"></div> 
<div class="square six"></div>
<div class="square five"></div>
<!--Loading animation ends here-->
              
            
!

CSS

              
                /* Loading animation style starts here.
Adjust sizes and timing within secion labeled "animation timing specifics."
Squares number ordered by animation color fill*/

/*squares*/
.row .square {
	float: left;
	background: #ff8a00;
  display: block;
  overflow: hidden;
  width: 30px;
	height: 30px;
  margin: 0px 5px 5px 0;
  opacity: 0;
/*animation*/
     /* Chrome, Safari, Opera */ 
  -webkit-animation-name: gotime;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: ease-in;
  /* Standard*/ 
  animation-name: gotime;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in;
}

/*line break */
.clearfix:after {
     visibility: hidden;
     display: block;
     font-size: 0;
     content: " ";
     clear: both;
     height: 0;
     }
.clearfix { display: inline-block; }

* html .clearfix { height: 1%; }
.clearfix { display: block; }


/*animation timing specifics -- Edit this section to for timing adjustments*/
.one {
    /* Chrome, Safari, Opera */ 
  -webkit-animation-duration: 5.5s; 
  -webkit-animation-delay: 0s;
  /* Standard*/ 
  animation-duration: 5.5s; 
  animation-delay: 0s;
  
}

.two {
  /* Chrome, Safari, Opera */ 
  -webkit-animation-duration: 5.5s; 
  -webkit-animation-delay: 0.15s;
   /* Standard*/ 
  animation-duration: 5.5s; 
  animation-delay: 0.15s;
}

.three {
  /* Chrome, Safari, Opera */ 
  -webkit-animation-duration: 5.5s; 
  -webkit-animation-delay: 0.25s;
   /* Standard*/ 
  animation-duration: 5.5s; 
  animation-delay: 0.25s;
}

.four {
 /* Chrome, Safari, Opera */ 
  -webkit-animation-duration: 5.5s; 
  -webkit-animation-delay: 0.25s;
   /* Standard*/ 
  animation-duration: 5.5s; 
  animation-delay: 0.25s;
}

.five {
  /* Chrome, Safari, Opera */ 
  -webkit-animation-duration:5.5s; 
  -webkit-animation-delay: .3s;
   /* Standard*/ 
  animation-duration:5.5s; 
  animation-delay: .3s;
}

.six {
  /* Chrome, Safari, Opera */ 
  -webkit-animation-duration: 5.5s;  
  -webkit-animation-delay: .35s;
   /* Standard*/ 
  animation-duration: 5.5s; 
  animation-delay: .35s;
}

.seven {
  /* Chrome, Safari, Opera */ 
  -webkit-animation-duration: 5.5s; 
  -webkit-animation-delay: .4s;
   /* Standard*/ 
  animation-duration: 5.5s; 
  animation-delay: .4s;
}

.eight {
  /* Chrome, Safari, Opera */ 
  -webkit-animation-duration: 5.5s; 
  -webkit-animation-delay: .45s;
   /* Standard*/ 
  animation-duration: 5.5s; 
  animation-delay: .45s;
}

.nine {
  /* Chrome, Safari, Opera */ 
  -webkit-animation-duration: 5.5s; 
    -webkit-animation-delay: .5s;
   /* Standard*/ 
  animation-duration: 5.5s; 
  animation-delay: .5s;
}

/*End of animation timing specifics*/

/*-------AVOID EDITING BELOW IF POSSIBLE, UNLESS CLEANING IT UP, THEN BE MY GUEST-------*/

/*COLORS: 
1. Orange: #ff8a00
2. Yellow: #ffd51c
3. Red: #f5836d
4. Purple: #9575a7
5. Blue: #5cc5e8
6. Green: #3dc0a7
*/

/* Animation -- Chrome, Safari, Opera */ 
@-webkit-keyframes gotime {
/*--ORANGE-- */ 
  0%{background: #ff8a00;
opacity: 0;}
  1.5%{background: #ff8a00;
opacity: 1;}
  3%{background: #ff8a00;
opacity: 0.9;}
  4.5%{background: #ff8a00;
opacity: 0.8;}
  6%{background: #ff8a00;
opacity: 0.7;}
  7.5%{background: #ff8a00;
opacity: 0.6;}
  9%{background: #ff8a00;
opacity: 0.5;}
  10.5%{background: #ff8a00;
opacity: 0.4;}
  12%{background: #ff8a00;
opacity: 0.3;}
  13.5%{background: #ff8a00;
opacity: 0.2;}
    15% {background: #ff8a00;
opacity: 0.1;}
/*--YELLOW--*/
  16.5%{background: #ffd51c;
opacity: 1;}
  18%{background: #ffd51c;
opacity: 0.9;}
  19.5%{background: #ffd51c;
opacity: 0.8;}
  21%{background: #ffd51c;
opacity: 0.7;}
  22.5%{background: #ffd51c;
opacity: 0.6;}
  24%{background: #ffd51c;
opacity: 0.5;}
  25.5%{background: #ffd51c;
opacity: 0.4;}
  27%{background: #ffd51c;
opacity: 0.3;}
  28.5%{background: #ffd51c;
opacity: 0.2;}
   30% {background: #ffd51c;
opacity: 0.1;}
/*--RED--*/
   31.5%{background: #f5836d;
opacity: 1;}
  33%{background: #f5836d;
opacity: 0.9;}
  34.5%{background: #f5836d;
opacity: 0.8;}
  36%{background: #f5836d;
opacity: 0.7;}
  37.5%{background: #f5836d;
opacity: 0.6;}
  39%{background: #f5836d;
opacity: 0.5;}
  40.5%{background: #f5836d;
opacity: 0.4;}
  42%{background: #f5836d;
opacity: 0.3;}
  43.5%{background: #f5836d;
opacity: 0.2;}
   45% {background: #f5836d;
opacity: 0.1;}
/*--PURPLE--*/
   46.5%{background: #9575a7;
opacity: 1;}
  48%{background: #9575a7;
opacity: 0.9;}
  49.5%{background: #9575a7;
opacity: 0.8;}
  51%{background: #9575a7;
opacity: 0.7;}
  52.5%{background: #9575a7;
opacity: 0.6;}
  54%{background: #9575a7;
opacity: 0.5;}
  55.5%{background: #9575a7;
opacity: 0.4;}
  57%{background: #9575a7;
opacity: 0.3;}
  58.5%{background: #9575a7;
opacity: 0.2;}
   60% {background: #9575a7;
opacity: 0.1;}
/*--BLUE--*/
   61.5%{background: #5cc5e8;
opacity: 1;}
  63%{background: #5cc5e8;
opacity: 0.9;}
  64.5%{background: #5cc5e8;
opacity: 0.8;}
  66%{background: #5cc5e8;
opacity: 0.7;}
  67.5%{background: #5cc5e8;
opacity: 0.6;}
  69%{background: #5cc5e8;
opacity: 0.5;}
  70.5%{background: #5cc5e8;
opacity: 0.4;}
  72%{background: #5cc5e8;
opacity: 0.3;}
  73.5%{background: #5cc5e8;
opacity: 0.2;}
    75% {background: #5cc5e8;
opacity: 0.1;}
/*--GREEN--*/
   76.5%{background: #3dc0a7;
opacity: 1;}
  78%{background: #3dc0a7;
opacity: 0.9;}
  79.5%{background: #3dc0a7;
opacity: 0.8;}
  81%{background: #3dc0a7;
opacity: 0.7;}
  82.5%{background: #3dc0a7;
opacity: 0.6;}
  84%{background: #3dc0a7;
opacity: 0.5;}
  85.5%{background: #3dc0a7;
opacity: 0.4;}
  87%{background: #3dc0a7;
opacity: 0.3;}
  88.5%{background: #3dc0a7;
opacity: 0.2;}
   90% {background: #3dc0a7;
opacity: 0.1;}
--
100% {background: #ff8a00;
opacity: 0.0;}
}

 /*Animation -- Standard*/ 
  @keyframes gotime {
/*--ORANGE-- */ 
  0%{background: #ff8a00;
opacity: 0;}
  1.5%{background: #ff8a00;
opacity: 1;}
  3%{background: #ff8a00;
opacity: 0.9;}
  4.5%{background: #ff8a00;
opacity: 0.8;}
  6%{background: #ff8a00;
opacity: 0.7;}
  7.5%{background: #ff8a00;
opacity: 0.6;}
  9%{background: #ff8a00;
opacity: 0.5;}
  10.5%{background: #ff8a00;
opacity: 0.4;}
  12%{background: #ff8a00;
opacity: 0.3;}
  13.5%{background: #ff8a00;
opacity: 0.2;}
    15% {background: #ff8a00;
opacity: 0.1;}
/*--YELLOW--*/
  16.5%{background: #ffd51c;
opacity: 1;}
  18%{background: #ffd51c;
opacity: 0.9;}
  19.5%{background: #ffd51c;
opacity: 0.8;}
  21%{background: #ffd51c;
opacity: 0.7;}
  22.5%{background: #ffd51c;
opacity: 0.6;}
  24%{background: #ffd51c;
opacity: 0.5;}
  25.5%{background: #ffd51c;
opacity: 0.4;}
  27%{background: #ffd51c;
opacity: 0.3;}
  28.5%{background: #ffd51c;
opacity: 0.2;}
   30% {background: #ffd51c;
opacity: 0.1;}
/*--RED--*/
   31.5%{background: #f5836d;
opacity: 1;}
  33%{background: #f5836d;
opacity: 0.9;}
  34.5%{background: #f5836d;
opacity: 0.8;}
  36%{background: #f5836d;
opacity: 0.7;}
  37.5%{background: #f5836d;
opacity: 0.6;}
  39%{background: #f5836d;
opacity: 0.5;}
  40.5%{background: #f5836d;
opacity: 0.4;}
  42%{background: #f5836d;
opacity: 0.3;}
  43.5%{background: #f5836d;
opacity: 0.2;}
   45% {background: #f5836d;
opacity: 0.1;}
/*--PURPLE--*/
   46.5%{background: #9575a7;
opacity: 1;}
  48%{background: #9575a7;
opacity: 0.9;}
  49.5%{background: #9575a7;
opacity: 0.8;}
  51%{background: #9575a7;
opacity: 0.7;}
  52.5%{background: #9575a7;
opacity: 0.6;}
  54%{background: #9575a7;
opacity: 0.5;}
  55.5%{background: #9575a7;
opacity: 0.4;}
  57%{background: #9575a7;
opacity: 0.3;}
  58.5%{background: #9575a7;
opacity: 0.2;}
   60% {background: #9575a7;
opacity: 0.1;}
/*--BLUE--*/
   61.5%{background: #5cc5e8;
opacity: 1;}
  63%{background: #5cc5e8;
opacity: 0.9;}
  64.5%{background: #5cc5e8;
opacity: 0.8;}
  66%{background: #5cc5e8;
opacity: 0.7;}
  67.5%{background: #5cc5e8;
opacity: 0.6;}
  69%{background: #5cc5e8;
opacity: 0.5;}
  70.5%{background: #5cc5e8;
opacity: 0.4;}
  72%{background: #5cc5e8;
opacity: 0.3;}
  73.5%{background: #5cc5e8;
opacity: 0.2;}
    75% {background: #5cc5e8;
opacity: 0.1;}
/*--GREEN--*/
   76.5%{background: #3dc0a7;
opacity: 1;}
  78%{background: #3dc0a7;
opacity: 0.9;}
  79.5%{background: #3dc0a7;
opacity: 0.8;}
  81%{background: #3dc0a7;
opacity: 0.7;}
  82.5%{background: #3dc0a7;
opacity: 0.6;}
  84%{background: #3dc0a7;
opacity: 0.5;}
  85.5%{background: #3dc0a7;
opacity: 0.4;}
  87%{background: #3dc0a7;
opacity: 0.3;}
  88.5%{background: #3dc0a7;
opacity: 0.2;}
   90% {background: #3dc0a7;
opacity: 0.1;}
--
100% {background: #ff8a00;
opacity: 0.0;}
}

/* Loading animation style ends here */

              
            
!

JS

              
                // Pingboard Loading Animation Challenge
// By Danielle Moser
// Project Manager
// Funsize.co
              
            
!
999px

Console