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.

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