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.

            
              <!-- https://dribbble.com/shots/3376812-Abstract-Activity-Indicator -->

<div class="indicator"> 
  <svg width="16px" height="12px">
    <polyline id="back" points="1 6 4 6 6 11 10 1 12 6 15 6"></polyline>
    <polyline id="front" points="1 6 4 6 6 11 10 1 12 6 15 6"></polyline>
  </svg>
</div>

<a href="https://www.goabstract.com/" class="cta" target="_blank">Go to Abstract&nbsp;&nbsp;→</a>
            
          
!
            
              // Set your hex color
$primary = #3BD3AB

.indicator
  position: absolute
  top: 50%
  left: 50%
  transform: translate(-50%,-50%) scale(2)
  svg
    polyline
      fill: none
      stroke-width: 2
      stroke-linecap: round
      stroke-linejoin: round
      &#back
        stroke: rgba($primary,.3)
      &#front
        stroke: $primary
        stroke-dasharray: 12, 36 //Dash 12 & Gap 36
        stroke-dashoffset: 48
        animation: dash 1s linear infinite
        
@keyframes dash 
  62.5%
    opacity: 0
  to 
    stroke-dashoffset: 0
    
    
.cta
  position: fixed
  bottom: 20px
  right: 30px
  color: #222
  font-weight: bold
            
          
!
999px
Loading ..................

Console