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 CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

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.

            
              .loading
  .loading-circle.loading-row1.loading-col3
  - for (var i = 2; i <= 4; ++i)
    div(class="loading-circle loading-row2 loading-col#{i}")
  - for (var i = 1; i <= 5; ++i)
    div(class="loading-circle loading-row3 loading-col#{i}")
  - for (var i = 2; i <= 4; ++i)
    div(class="loading-circle loading-row4 loading-col#{i}")
  .loading-circle.loading-row5.loading-col3
            
          
!
            
              body
  background-color: #00ccff

.loading
  height: 85px
  left: 50%
  margin-left:  -42.5px
  margin-top: -42.5px
  position: absolute
  top: 50%
  transform: translateZ(0)
  width: 85px

.loading-circle
  animation: 2291ms loading infinite
  background-color: #fff
  border-radius: 50%
  height: 14px
  position: absolute
  transform: scale(0)
  width: 14px

for num in (1..13)
  .loading-circle:nth-child({num})
    animation-delay: num * 42ms

.loading-row1
  top: 1.3px

.loading-row2
  top: 18.95px

.loading-row3
  top: 36.55px

.loading-row4
  top: 54.2px

.loading-row5
  top: 71.85px

.loading-col1
  left: 1.25px

.loading-col2
  left: 18.85px

.loading-col3
  left: 36.5px
    
.loading-col4
  left: 54.15px

.loading-col5
  left: 71.8px

@keyframes loading
  0%
    transform: scale(0)
  27.28%
    transform: scale(1)
  36.36%
    transform: scale(0.857)
  54.55%
    transform: scale(0.857)
  63.64%
    transform: scale(0)
  100%
    transform: scale(0)
            
          
!
999px
Loading ..................

Console