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

+ add another resource


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


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.


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.


<svg id="lines" xmlns=""  viewBox="0 0 500 300">
  <path class="path path01" fill="none" stroke="#ffce00" stroke-width="5.5" d="M82 35l94 69"/>
  <path class="path path02" fill="none" stroke="#ffce00" stroke-width="5.5" d="M176 103l-57 59"/>
  <path class="path path03" fill="none" stroke="#ffce00" stroke-width="5.5" d="M119 162l81 77"/>

  <circle class="star star01" cx="83.5" cy="35.5" r="6" fill="#ffce00"/>
  <circle class="star star02" cx="172.5" cy="103.5" r="6" fill="#ffce00"/>
  <circle class="star star03" cx="120.5" cy="162.5" r="6" fill="#ffce00"/>
  <circle class="star star04" cx="198.5" cy="238.5" r="6" fill="#ffce00"/>


<svg id="text" xmlns=""  viewBox="0 0 500 300">

  <g class="lines one" fill="#505050">
    <text x="27.1" y="38.6" font-family="'ArialMT','Arial',sans-serif" font-size="12">Number</text>
    <text x="103.1" y="42.3" font-family="'Arial-Black','Arial Black',sans-serif" font-size="19.7" font-weight="900">ONE</text>
  <g class="lines two" fill="#505050">
    <text x="113.1" y="106.6" font-family="'ArialMT','Arial',sans-serif" font-size="12">Number</text>
    <text x="189.1" y="110.3" font-family="'Arial-Black','Arial Black',sans-serif" font-size="19.7" font-weight="900">TWO</text>
  <g class="lines three" fill="#505050">
    <text x="63.1" y="164.6" font-family="'ArialMT','Arial',sans-serif" font-size="12">Number</text>
    <text x="139.1" y="168.3" font-family="'Arial-Black','Arial Black',sans-serif" font-size="19.7" font-weight="900">THREE</text>
  <g class="lines four" fill="#505050">
    <text x="138.1" y="241.6" font-family="'ArialMT','Arial',sans-serif" font-size="12">Number</text>
    <text x="214.1" y="245.3" font-family="'Arial-Black','Arial Black',sans-serif" font-size="19.7" font-weight="900"> FOUR</text>



  filter: drop-shadow(0px -5px 15px #ffce00);

  filter: drop-shadow(9px 5px 10px #5f5f5f);



TweenLite.defaultEase = Linear.easeNone;

var action = new TimelineMax()
.to(".star01",0.2, {autoAlpha:0, scale:3, transformOrigin:'center', repeat:3, yoyo:true})
.from(".one",1, {autoAlpha:0},'-=0.6')
.from(".path01", 1, {drawSVG:0})
.to(".star02",0.2, {autoAlpha:0, scale:3, transformOrigin:'center', repeat:3, yoyo:true})
.from(".two",1, {autoAlpha:0},'-=0.6')
.from(".path02", 1, {drawSVG:0})
.to(".star03",0.2, {autoAlpha:0, scale:3, transformOrigin:'center', repeat:3, yoyo:true})
.from(".three",1, {autoAlpha:0},'-=0.6')
.from(".path03", 1, {drawSVG:0})
.to(".star04",0.2, {autoAlpha:0, scale:3, transformOrigin:'center', repeat:3, yoyo:true})
.from(".four",1, {autoAlpha:0},'-=0.6')

.staggerTo('.star',0.3,{scale:2, transformOrigin:'center', repeat:1, yoyo:true},0.5, "end")
.staggerTo('.lines',0.3,{scale:1.2, transformOrigin:'center', repeat:1, yoyo:true},0.5, "end")