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.

            
              .group  
  .bigSqr.three
  .bigSqr.two
  .bigSqr
  .text loading...
div.link Chat to me on 
  a(href="https://ello.co/lesbaa") Ello :-)
            
          
!
            
              $blue: #0AC
$wht: #FFF
$grn: #8D8
$red: #F55

@import url(https://fonts.googleapis.com/css?family=Roboto:400)

body
  background: $wht
  text-align: center
  line-height: 100vh

.group
  position: relative
  display: inline-block
  line-height: 16px
  
.bigSqr
  position: relative
  display: inline-block
  width: 40px
  height: 40px
  overflow: hidden
  transform-origin: center
  animation: bigSqrShrink 1s linear infinite
  background: $blue
  border-radius: 50%
  animation: dspt 2s infinite

.two
  background: $grn
  animation-delay: 0.15s

.three
  background: $red
  animation-delay: 0.3s

.text
  line-height: 16px
  font-family: 'Roboto'
  color: $blue
  display: block
  margin: 10px auto
  padding: 3px
  
@keyframes dspt
  0%
    transform: scale(0)
    opacity: 1
  20%
    transform: scale(1)
    opacity: 1
  40%
    transform: scale(0.6)
    opacity: 1
  70%
    transform: scale(0.7)
    opacity: 1
  80%
    transform: scale(0.7)
    opacity: 1
  100%
    transform: scale(2)
    opacity: 0
  
.link 
  line-height: 1em
  position: absolute
  bottom: 0
  right: 20px
  width: 300px
  height: 50px
  font-family: "Open Sans","Roboto",Arial,sans-serif
  text-align: right

.link > a 
  text-decoration: none
  color: #F30
            
          
!
999px
Loading ..................

Console