Pen Settings

HTML

CSS

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.

+ add another resource

JavaScript

Babel includes JSX processing.

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.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <div class="snapCursor">
  <svg width="90" height="90" xmlns="http://www.w3.org/2000/svg">
    <g transform="translate(45, 45)">
      <ellipse stroke="#dcddde" ry="35" rx="35" cy="0" cx="0" fill-opacity="0" fill="none" class="test opacity">
        <!-- 
         <animate attributeName="opacity"
             values="0;1;0" dur="4s"
             repeatCount="indefinite"/>
        -->
      </ellipse>
    </g>
    <g transform="translate(45, 45)">
      <ellipse ry="21" rx="21" cy="0" cx="0" stroke-width="0" fill="#262633" class="main-circle"></ellipse>
    </g>
    <path d="m40.318536,41.190177c0,0 2.178,2 4.498,2c2.654,0 5.497,-2 5.497,-2l-4.995,7.997l-5,-7.997z" fill="#F5F5F5" clip-rule="evenodd" fill-rule="evenodd" class="triangle"></path>
  </svg>
</div>


<div class="snapCursor"><svg width="90" height="90" xmlns="http://www.w3.org/2000/svg"><g transform="translate(45, 45)"><ellipse stroke="#dcddde" ry="35" rx="35" cy="0" cx="0" fill-opacity="0" fill="none" class="outer-circle" data-svg-origin="0 0" transform="matrix(1,0,0,1,0,0)" style="visibility: inherit; opacity: 1; transform-origin: 0px 0px 0px;"></ellipse></g><g transform="translate(45, 45)">
  <ellipse ry="21" rx="21" cy="0" cx="0" stroke-width="0" fill="#262633" class="main-circle" data-svg-origin="0 0" transform="matrix(1,0,0,1,0,0)" style="visibility: inherit; opacity: 1; transform-origin: 0px 0px 0px;">
  
</ellipse></g><path d=" M 45 36.485 C 41.412 36.49 38.505 39.397 38.5 42.985 C 38.5 46.571 44.773 53.515 45 53.515 C 45.227 53.515 51.5 46.571 51.5 42.985 C 51.495 39.397 48.588 36.49 45 36.485 L 45 36.485 Z  M 45.227 45.445 C 44.318 45.449 43.497 44.904 43.148 44.065 C 42.798 43.226 42.99 42.259 43.632 41.617 C 44.275 40.974 45.241 40.783 46.08 41.132 C 46.919 41.482 47.464 42.303 47.46 43.212 C 47.455 44.443 46.458 45.44 45.227 45.445 L 45.227 45.445 Z " fill="#F5F5F5" class="triangle" data-svg-origin="45 45" transform="matrix(1,0,0,1,0,0)" style="transform-origin: 0px 0px 0px;"></path></svg></div>
              
            
!

CSS

              
                
              
            
!

JS

              
                TweenMax.fromTo('.test', 1.4, {scale: 1}, {scale: 1.1, repeat: -1, repeatDelay:0, yoyo: true, transformOrigin: 'center center'});

              
            
!
999px

Console