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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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

              
                <svg class="rotateG" preserveAspectRatio="xMidYMin slice" style="max-width: 300px; width: 100%; padding-bottom: 100%; height: 1px !important; height: 0.1px !important; overflow: visible;box-sizing: content-box;" viewBox="0 0 735.03 735.03" xmlns="http://www.w3.org/2000/svg">
							<g data-svg-origin="367.6150061035156 367.6150061035156" style="transform: matrix(1, 0, 0, 1, 0, 0);">
								<circle cx="367.51" cy="367.51" fill="none" r="367.41"></circle>
								<path d="M490.69,705.94c186.9-68,283.27-274.7,215.25-461.6S431.24-38.94,244.34,29.09" fill="none" fill-rule="evenodd" stroke="#606060" stroke-miterlimit="10" stroke-width="1.84"></path>
							</g>
							<g data-svg-origin="401.015 401.015" style="transform: matrix(1, 0, 0, 1, 0, 0);">
								<circle cx="367.51" cy="367.51" fill="none" r="334.01"></circle>
								<path d="M271.79,680.61c172.92,52.87,356-44.46,408.82-217.37S636.15,107.29,463.24,54.42" fill="none" fill-rule="evenodd" stroke="#606060" stroke-miterlimit="10" stroke-width="1.84"></path>
							</g>
							<g data-svg-origin="431.3750158691406 431.3750158691406" style="transform: matrix(1, 0, 0, 1, 0, 0);">
								<circle cx="367.51" cy="367.51" fill="none" r="303.65"></circle>
								<path d="M126.72,542.46c96.62,133,282.75,162.47,415.74,65.85s162.47-282.76,65.85-415.74" fill="none" fill-rule="evenodd" stroke="#606060" stroke-miterlimit="10" stroke-width="1.84"></path>
							</g>
							<g data-svg-origin="458.9850012207031 458.9850012207031" style="transform: matrix(1, 0, 0, 1, 0, 0);">
								<circle cx="367.51" cy="367.51" fill="none" r="276.04"></circle>
								<path d="M97,362.79c-2.61,149.42,116.4,272.65,265.81,275.26s272.65-116.4,275.26-265.81" fill="none" fill-rule="evenodd" stroke="#606060" stroke-miterlimit="10" stroke-width="1.84"></path>
							</g>
							<g data-svg-origin="484.0750128173828 484.0750128173828" style="transform: matrix(1, 0, 0, 1, 0, 0);">
								<circle cx="367.51" cy="367.51" fill="none" r="250.95"></circle>
								<path d="M173.68,216.07C90,323.13,109,477.71,216.07,561.35S477.71,626,561.35,519" fill="none" fill-rule="evenodd" stroke="#606060" stroke-miterlimit="10" stroke-width="1.84"></path>
							</g>
							<g data-svg-origin="506.88501037597655 506.88501037597655" style="transform: matrix(1, 0, 0, 1, 0, 0);">
								<circle cx="367.51" cy="367.51" fill="none" r="228.14"></circle>
								<path d="M309.64,151.51c-119.3,32-190.09,154.59-158.13,273.88S306.1,615.48,425.39,583.51" fill="none" fill-rule="evenodd" stroke="#606060" stroke-miterlimit="10" stroke-width="1.84"></path>
							</g>
							<g data-svg-origin="527.6250158691406 527.6250158691406" style="transform: matrix(1, 0, 0, 1, 0, 0);">
								<circle cx="367.51" cy="367.51" fill="none" r="207.4"></circle>
								<path d="M443.67,179C339.57,137,221.09,187.26,179,291.36S187.26,513.94,291.36,556" fill="none" fill-rule="evenodd" stroke="#606060" stroke-miterlimit="10" stroke-width="1.84"></path>
							</g>
							<g data-svg-origin="546.4850164794922 546.4850164794922" style="transform: matrix(1, 0, 0, 1, 0, 0);">
								<circle cx="367.51" cy="367.51" fill="none" r="188.54"></circle>
								<path d="M525.93,272.33c-52.57-87.49-166.11-115.8-253.6-63.23S156.53,375.21,209.1,462.7" fill="none" fill-rule="evenodd" stroke="#606060" stroke-miterlimit="10" stroke-width="1.84"></path>
							</g>
							<g data-svg-origin="563.6250158691406 563.6250158691406" style="transform: matrix(1, 0, 0, 1, 0, 0);">
								<circle cx="367.51" cy="367.51" fill="none" r="171.4"></circle>
								<path d="M534.6,385.08A168,168,0,1,0,200.43,350" fill="none" fill-rule="evenodd" stroke="#606060" stroke-miterlimit="10" stroke-width="1.84"></path>
							</g>
							<g data-svg-origin="579.2050024414062 579.2050024414062" style="transform: matrix(1, 0, 0, 1, 0, 0);">
								<circle cx="367.51" cy="367.51" fill="none" r="155.82"></circle>
								<path d="M479.22,471.68A152.74,152.74,0,0,0,255.81,263.35" fill="none" fill-rule="evenodd" stroke="#606060" stroke-miterlimit="10" stroke-width="1.84"></path>
							</g>
							<g data-svg-origin="593.3750158691406 593.3750158691406" style="transform: matrix(1, 0, 0, 1, 0, 0);">
								<circle cx="367.51" cy="367.51" fill="none" r="141.65"></circle>
								<path d="M391.63,504.25A138.85,138.85,0,0,0,343.4,230.77" fill="none" fill-rule="evenodd" stroke="#606060" stroke-miterlimit="10" stroke-width="1.84"></path>
							</g>
							<g data-svg-origin="606.2450109863281 606.2450109863281" style="transform: matrix(1, 0, 0, 1, 0, 0);">
								<circle cx="367.51" cy="367.51" fill="none" r="128.78"></circle>
								<path d="M310.21,480A126.22,126.22,0,0,0,424.82,255.05" fill="none" fill-rule="evenodd" stroke="#606060" stroke-miterlimit="10" stroke-width="1.84"></path>
							</g>
							<g data-svg-origin="617.9550024414062 617.9550024414062" style="transform: matrix(1, 0, 0, 1, 0, 0);">
								<circle cx="367.51" cy="367.51" fill="none" r="117.07"></circle>
								<path d="M264.38,417.82A114.75,114.75,0,0,0,470.65,317.21" fill="none" fill-rule="evenodd" stroke="#606060" stroke-miterlimit="10" stroke-width="1.84"></path>
							</g>
							<g data-svg-origin="628.5950170898437 628.5950170898437" style="transform: matrix(1, 0, 0, 1, 0, 0);">
								<circle cx="367.51" cy="367.51" fill="none" r="106.43"></circle>
								<path d="M265.11,347.61a104.32,104.32,0,1,0,204.81,39.81" fill="none" fill-rule="evenodd" stroke="#606060" stroke-miterlimit="10" stroke-width="1.84"></path>
							</g>
							<g data-svg-origin="638.275009765625 638.275009765625" style="transform: matrix(1, 0, 0, 1, 0, 0);">
								<circle cx="367.51" cy="367.51" fill="none" r="96.75"></circle>
								<path d="M304.06,297A94.83,94.83,0,0,0,431,438" fill="none" fill-rule="evenodd" stroke="#606060" stroke-miterlimit="10" stroke-width="1.84"></path>
							</g>
							<g data-svg-origin="647.0650183105469 647.0650183105469" style="transform: matrix(1, 0, 0, 1, 0, 0);">
								<circle cx="367.51" cy="367.51" fill="none" r="87.96"></circle>
								<path d="M360,281.63A86.21,86.21,0,1,0,375,453.4" fill="none" fill-rule="evenodd" stroke="#606060" stroke-miterlimit="10" stroke-width="1.84"></path>
							</g>
							<g data-svg-origin="655.0650183105469 655.0650183105469" style="transform: matrix(1, 0, 0, 1, 0, 0);">
								<circle cx="367.51" cy="367.51" fill="none" r="79.96"></circle>
								<path d="M409.05,301.05A78.38,78.38,0,1,0,326,434" fill="none" fill-rule="evenodd" stroke="#606060" stroke-miterlimit="10" stroke-width="1.84"></path>
							</g>
							<g data-svg-origin="662.3350073242187 662.3350073242187" style="transform: matrix(1, 0, 0, 1, 0, 0);">
								<circle cx="367.51" cy="367.51" fill="none" r="72.69"></circle>
								<path d="M434,342a71.25,71.25,0,1,0-133,51.07" fill="none" fill-rule="evenodd" stroke="#606060" stroke-miterlimit="10" stroke-width="1.84"></path>
							</g>
							<g data-svg-origin="668.9449926757812 668.9449926757812" style="transform: matrix(1, 0, 0, 1, 0, 0);">
								<circle cx="367.51" cy="367.51" fill="none" r="66.08"></circle>
								<path d="M429.78,385.37a64.77,64.77,0,1,0-124.53-35.71" fill="none" fill-rule="evenodd" stroke="#606060" stroke-miterlimit="10" stroke-width="1.84"></path>
							</g>
							<g data-svg-origin="674.9449926757812 674.9449926757812" style="transform: matrix(1, 0, 0, 1, 0, 0);">
								<circle cx="367.51" cy="367.51" fill="none" r="60.08"></circle>
								<path d="M403,414.54a58.88,58.88,0,0,0-70.87-94.05" fill="none" fill-rule="evenodd" stroke="#606060" stroke-miterlimit="10" stroke-width="1.84"></path>
							</g>
							<g data-svg-origin="680.4150244140625 680.4150244140625" style="transform: matrix(1, 0, 0, 1, 0, 0);">
								<circle cx="367.51" cy="367.51" fill="none" r="54.61"></circle>
								<path d="M367.51,421.05a53.54,53.54,0,1,0,0-107.07" fill="none" fill-rule="evenodd" stroke="#606060" stroke-miterlimit="10" stroke-width="1.84"></path>
							</g></svg>
              
            
!

CSS

              
                body { background: black; }
h1 {
  color: white;
  text-align: center;
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
  font-family: sans-serif;
  letter-spacing: 15px;
  text-transform: uppercase;
  font-weight: normal;
  padding-top: 30px;
  font-size: 50px;
  padding-left: 0;
  padding-right: 0;
}
              
            
!

JS

              
                var controller = new ScrollMagic.Controller();

var introaniTL = new TimelineMax({repeat:-1});

introaniTL.from(".rotateG g", 10, {
	rotation:"360_cw",
  svgOrigin: "367.52 367.52",
  ease: Power0.easeNone
});

var introaniScene = new ScrollMagic.Scene({
	triggerElement: ".rotateG",
	triggerHook: 0,
  offset: -400

});

introaniScene.setTween(introaniTL);
introaniScene.addTo(controller);
introaniScene.addIndicators(); // This is for debug indicators
              
            
!
999px

Console