Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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

Auto Save

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 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 800 600">
  <defs>
   <clipPath id="outlineMask">
<rect class="outlineMask" x="160" y="50" width="480" height="347" fill="#2c292b" opacity="0.2"/>    
    </clipPath>
   <clipPath id="svgMask">

  <path d="M236.1,377c-24,0-48.3-8.4-67.4-25.4l20.6-24.7c14.3,11.8,29.3,19.3,47.4,19.3c14.3,0,22.9-5.7,22.9-15v-0.5
    c0-8.8-5.4-13.4-32-20.2c-32-8.2-52.6-17-52.6-48.5v-0.5c0-28.8,23.1-47.9,55.6-47.9c23.1,0,42.9,7.3,59,20.2l-18.1,26.3
    c-14.1-9.8-27.9-15.7-41.3-15.7s-20.4,6.1-20.4,13.8v0.5c0,10.4,6.8,13.8,34.3,20.9c32.2,8.4,50.4,20,50.4,47.6v0.5
    C294.4,359.3,270.3,377,236.1,377z"/>
  <path d="M399.4,373.9h-30.8l-64.2-155.9h38.6l41.5,109.8l41.5-109.8h37.7L399.4,373.9z"/>
  <path d="M554.3,377.4c-49.5,0-83.5-34.7-83.5-81.7v-0.5c0-45.1,35.2-82.1,83.2-82.1c28.6,0,45.8,7.7,62.4,21.8l-22,26.5
    c-12.2-10.2-23.1-16.1-41.5-16.1c-25.4,0-45.6,22.5-45.6,49.5v0.5c0,29,20,50.4,48.1,50.4c12.7,0,24-3.2,32.9-9.5v-22.7h-35.2
    v-30.2h69v69C605.8,366.1,583.4,377.4,554.3,377.4z"/>
   
    </clipPath>
    <radialGradient id="bgGrad" cx="400" cy="300" r="353.55" gradientUnits="userSpaceOnUse">
      <stop offset="0" stop-color="#be2a33"/>
      <stop offset="1" stop-color="#971416"/>
    </radialGradient>
  </defs>
  <title>svg drop</title>
      <rect class="bg" width="800" height="600" fill="url(#bgGrad)"/>
 <g class="maskedOutline" clip-path="url(#outlineMask)">
 <g class="whole">
      <g class="letterS">
        <path d="M168.71,351.59l20.64-24.72" fill="none" stroke="#ededed" stroke-width="1"/>
        <path d="M294.38,327.77c0,31.53-24,49.22-58.3,49.22a101,101,0,0,1-67.37-25.41" fill="none" stroke="#ededed" stroke-width="1"/>
        <path d="M271.47,260.17c-14.06-9.75-27.9-15.65-41.28-15.65s-20.42,6.12-20.42,13.84v.45c0,10.43,6.81,13.84,34.25,20.87,32.21,8.39,50.36,20,50.36,47.64v.45" fill="none" stroke="#ededed" stroke-width="1"/>
        <path d="M289.61,233.86l-18.15,26.31" fill="none" stroke="#ededed" stroke-width="1"/>
        <path d="M175.06,262v-.45c0-28.81,23.14-47.86,55.58-47.86,23.14,0,42.87,7.26,59,20.19" fill="none" stroke="#ededed" stroke-width="1"/>
        <path d="M189.35,326.86c14.29,11.79,29.26,19.28,47.41,19.28,14.29,0,22.91-5.67,22.91-15v-.45c0-8.85-5.44-13.38-32-20.19-32-8.17-52.63-17-52.63-48.54" fill="none" stroke="#ededed" stroke-width="1"/>
        <circle cx="175.62" cy="264.67" r="4.5" fill="#ededed"/>
        <circle cx="294.11" cy="331.36" r="4.5" fill="#ededed"/>
        <circle cx="168.71" cy="351.59" r="4.5" fill="#ededed"/>
        <circle cx="189.35" cy="326.86" r="4.5" fill="#ededed"/>
        <circle cx="271.47" cy="260.17" r="4.5" fill="#ededed"/>
        <circle cx="289.61" cy="233.86" r="4.5" fill="#ededed"/>
      </g>
      <g class="letterV">
        <line x1="399.41" y1="373.86" x2="368.56" y2="373.86" fill="none" stroke="#ededed" stroke-width="1"/>
        <line x1="463.6" y1="217.94" x2="399.41" y2="373.86" fill="none" stroke="#ededed" stroke-width="1"/>
        <line x1="425.95" y1="217.94" x2="463.6" y2="217.94" fill="none" stroke="#ededed" stroke-width="1"/>
        <line x1="384.44" y1="327.77" x2="425.95" y2="217.94" fill="none" stroke="#ededed" stroke-width="1"/>
        <line x1="342.92" y1="217.94" x2="384.44" y2="327.77" fill="none" stroke="#ededed" stroke-width="1"/>
        <line x1="304.36" y1="217.94" x2="342.92" y2="217.94" fill="none" stroke="#ededed" stroke-width="1"/>
        <line x1="368.56" y1="373.86" x2="304.36" y2="217.94" fill="none" stroke="#ededed" stroke-width="1"/>
        <circle cx="304.36" cy="217.94" r="4.5" fill="#ededed"/>
        <circle cx="342.92" cy="217.94" r="4.5" fill="#ededed"/>
        <circle cx="425.95" cy="217.94" r="4.5" fill="#ededed"/>
        <circle cx="463.6" cy="217.94" r="4.5" fill="#ededed"/>
        <circle cx="399.41" cy="373.86" r="4.5" fill="#ededed"/>
        <circle cx="368.56" cy="373.86" r="4.5" fill="#ededed"/>
      </g>
      <g class="letterG">
         <path fill="none" stroke="#ededed" d="M616.5,235l-22,26.5"/>
  <path fill="none" stroke="#ededed" d="M470.9,295.3c0-45.1,35.2-82.1,83.2-82.1c28.6,0,45.8,7.7,62.4,21.8"/>
  <path fill="none" stroke="#ededed" d="M622.2,352.3c-16.3,13.8-38.8,25.2-67.8,25.2c-49.5,0-83.5-34.7-83.5-81.7v-0.5"/>
  <path fill="none" stroke="#ededed" d="M622.2,283.3v69"/>
  <path fill="none" stroke="#ededed" d="M553.2,283.3h69"/>
  <path fill="none" stroke="#ededed" d="M553.2,313.5v-30.2"/>
  <path fill="none" stroke="#ededed" d="M588.4,313.5h-35.2"/>
  <path fill="none" stroke="#ededed" d="M588.4,336.2v-22.7"/>
  <path fill="none" stroke="#ededed" d="M507.4,295.3c0,29,20,50.4,48.1,50.4c12.7,0,24-3.2,32.9-9.5"/>
  <path fill="none" stroke="#ededed" d="M594.5,261.5c-12.2-10.2-23.1-16.1-41.5-16.1c-25.4,0-45.6,22.5-45.6,49.5v0.5"/>
  <circle cx="594.5" cy="261.5" r="4.5" fill="#ededed"/>
  <circle cx="553.2" cy="283.3" r="4.5" fill="#ededed"/>
  <circle cx="622.2" cy="283.3" r="4.5" fill="#ededed"/>
  <circle cx="553.2" cy="313.5" r="4.5" fill="#ededed"/>
  <circle cx="622.2" cy="351.6" r="4.5" fill="#ededed"/>
  <circle cx="470.9" cy="300" r="4.5" fill="#ededed"/>
  <circle cx="616.5" cy="235" r="4.5" fill="#ededed"/>
      </g>
 <g clip-path="url(#svgMask)">
<rect fill="#FFF" opacity="0.05" class="shine" x="0" y="-100" width="153.6" height="600"/>
  </g>
  </g>
</g>      
      <rect class="baseline" x="160" y="397" width="480" height="7" fill="#2c292b"/>
</svg>

              
            
!

CSS

              
                body {
  background-color:#971416;
  overflow: hidden;
  text-align:center;
}

body,
html {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}


svg{
 position:absolute;
  width:100%;
  height:100%;
  visibility:hidden;
  transform:translate(-50%, 0%);
}

/* svg{
 width:800px;
 height:600px;
} */
              
            
!

JS

              
                var xmlns = "http://www.w3.org/2000/svg",
  xlinkns = "http://www.w3.org/1999/xlink",
  select = function(s) {
    return document.querySelector(s);
  },
  selectAll = function(s) {
    return document.querySelectorAll(s);
  },
    baseline = select('.baseline'),
    shine = select('.shine'),
    letterSDots = selectAll('.letterS circle'),
    letterSPaths = selectAll('.letterS path'),
    letterVDots = selectAll('.letterV circle'),
    letterVPaths = selectAll('.letterV line'),
    letterGDots = selectAll('.letterG circle'),
    letterGPaths = selectAll('.letterG path')
  

TweenMax.set('svg', {
  visibility: 'visible'
})
CustomEase.create("drop", "M0,0 C0.574,0.01 0.815,0.71 0.846,1 0.867,1.089 0.899,0.954 0.93,0.954 0.96,0.954 0.989,1.055 1,1");
//CustomBounce.create("fall", {strength:0.6, squash:2, squashID:'fallSquash'});
CustomBounce.create("fall", {strength:0.6});
                            
TweenMax.set(shine, {
 rotation:45,
 transformOrigin:'50% 50%',
 x:750,
 y:170
})

var Stl = new TimelineMax();
Stl.staggerFrom(letterSDots, 1, {
 attr:{
  cy:'-=130',
  r:0
 },
 //ease:Elastic.easeOut.config(0.9, 0.27)
 ease:'drop'
},0.05)
 .staggerFrom(letterSPaths, 0.6, {
 drawSVG:'0% 0%',
 ease:Power4.easeOut
},0.005,'-=0.3')

var Vtl = new TimelineMax();
Vtl.staggerFrom(letterVDots, 1, {
 attr:{
  cy:'-=130',
  r:0
 },
 //ease:Elastic.easeOut.config(0.9, 0.27)
 ease:'drop'
},0.05)
 .staggerFrom(letterVPaths, 0.6, {
 drawSVG:'0% 0%',
 ease:Power4.easeOut
},0.005,'-=0.3')

var Gtl = new TimelineMax();
Gtl.staggerFrom(letterGDots, 1, {
 attr:{
  cy:'-=130',
  r:0
 },
 //ease:Elastic.easeOut.config(0.9, 0.27)
 ease:'drop'
},0.05)
 .staggerFrom(letterGPaths, 0.6, {
 drawSVG:'0% 0%',
 ease:Power4.easeOut
},0.005,'-=0.3')

var fallTl = new TimelineMax();
fallTl.staggerTo(letterSDots, 1, {
 attr:{
  cy:393
 },
 ease:'fall'
},0.07)
.staggerTo(letterVDots, 1, {
 attr:{
  cy:393
 },
 ease:'fall'
},0.07,'-=' + fallTl.duration())
.staggerTo(letterGDots, 1, {
 attr:{
  cy:393
 },
 ease:'fall'
},0.07,'-=' + fallTl.duration())

var baselineTl = new TimelineMax();
baselineTl.from(baseline, 0.5, {
 attr:{
  width:0
 },
 x:240,
 fill:'#ededed',
 ease:Power3.easeInOut
})

var shineTl = new TimelineMax();
shineTl.to(shine, 0.5, {
 x:'-=900'
})

 var outlineMaskTl = new TimelineMax();
 outlineMaskTl.to('.whole', 2, {
 y:1400,
  ease:'fall'
})
.to(baseline, 0.5, {
 attr:{
  width:0
 },
 x:240,
 fill:'#ededed',
 ease:Back.easeInOut
},'-=1.9')

var mainTl = new TimelineMax({repeat:-1}).timeScale(0.7)

mainTl.add(Stl,0);
mainTl.add(Vtl,0);
mainTl.add(Gtl,0);
mainTl.add(shineTl,0.9);
mainTl.add(fallTl,2.1);
mainTl.add(baselineTl,0.5);
mainTl.add(outlineMaskTl,4.5);

//ScrubGSAPTimeline(mainTl);
//TweenMax.globalTimeScale(0.5)
              
            
!
999px

Console