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.

            
              <svg xmlns="http://www.w3.org/2000/svg" width="400" height="400" viewBox="0 0 100 100">
  <circle fill="#FEFEFE" cx="50" cy="50" r="6" id="middle"/>
  <circle fill="#1FA756" cx="62.5" cy="43.5" r="4.5"/>
  <circle fill="#1FA756" cx="37.5" cy="43.5" r="4.5"/>
  <circle fill="#1FA756" cx="50" cy="37" r="4.5"/>
  <circle fill="#1FA756" cx="62.5" cy="56.5" r="4.5"/>
  <circle fill="#1FA756" cx="37.5" cy="56.5" r="4.5"/>
  <circle fill="#1FA756" cx="50" cy="65" r="4.5"/>
</svg>
            
          
!
            
              // Demo Styling
html,body {height: 100%;}body{display: flex;flex-direction:column;align-items: center;justify-content:center;width:100%;background:#2A3744;}svg{max-width:100%;}

// Required Styling
svg > circle:nth-of-type {
  position: absolute;
  transform: scale(0);
}
            
          
!
            
              var tmax_options = {
  repeat: -1,
  yoyo: true
};

var tmax_tl          = new TimelineMax(tmax_options),
    tween_options_to = {
      css: {
        transform: 'scale(0)',
        transformOrigin: 'center center'
      },
      ease: Cubic.easeInOut,
      force3D: true
    };

// Last Argument is Position Timing.
// Use this argument to stagger the visibility of surrounding circles
tmax_tl.to($('svg > circle:nth-of-type(1)'), 1, tween_options_to, 0)
       .to($('svg > circle:nth-of-type(2)'), 1, tween_options_to, 0)
       .to($('svg > circle:nth-of-type(3)'), 1, tween_options_to, 0)
       .to($('svg > circle:nth-of-type(4)'), 1, tween_options_to, 0)
       .to($('svg > circle:nth-of-type(5)'), 1, tween_options_to, 0)
       .to($('svg > circle:nth-of-type(6)'), 1, tween_options_to, 0)
       .to($('svg > circle:nth-of-type(7)'), 1, tween_options_to, 0)
            
          
!
999px
Loading ..................

Console