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.

Quick-add: + add another resource

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.

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.

            
              %ul
  %li#a
  %li#b
  %li#c
  %li#d
  %li#e
  %li#f
  %li#g
  %li#h
  %li#i
            
          
!
            
              body
  background: #bb564f

ul
  position: absolute
  left: 50%
  top: 50%
  transform: rotate(45deg) translate(-50%, -50%)

li
  list-style-type: none
  position: absolute
  top: 0px
  left: 0px
  width: 20px
  height: 20px
  background: #f5d4a1
  border-radius: 50%

@mixin place($n, $t, $l)
  animation: $n 1s ease-in-out infinite
  top: $t
  left: $l        
    
#a
  @include place(a, -40px, -40px)
#b
  @include place(b, -40px, 0px)
#c
  @include place(c, -40px, 40px)
#d
  @include place(d, 0px, -40px)
#e
  @include place(e, 0px, 0px)
#f
  @include place(f, 0px, 40px)
#g
  @include place(g, 40px, -40px)
#h
  @include place(h, 40px, 0px)
#i
  @include place(i, 40px, 40px)
  
@keyframes a
  50%
    top: 0px
    left: -40px
  100%
    top: 0px
    left: -40px
  
@keyframes b
  50%
    top: -40px
    left: -40px
  100%
    top: -40px
    left: -40px
  
@keyframes c
  50%
    top: -40px
    left: 0px
  100%
    top: -40px
    left: 0px
  
@keyframes d
  50%
    top: 40px
    left: -40px
  100%
    top: 40px
    left: -40px
  
@keyframes f
  50%
    top: -40px
    left: 40px
  100%
    top: -40px
    left: 40px
  
@keyframes g
  50%
    top: 40px
    left: 0px
  100%
    top: 40px
    left: 0px
  
@keyframes h
  50%
    top: 40px
    left: 40px
  100%
    top: 40px
    left: 40px
  
@keyframes i
  50%
    top: 0px
    left: 40px
  100%
    top: 0px
    left: 40px

  
            
          
!
999px
Loading ..................

Console