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.

            
              <body>
  <svg id='instagram' viewbox='0 0 512 512'>
    <g>
      <path d='M51.69,243.34l4.41,4.08c9.13,8.44,21.37,5.93,28.27-3.64l12.73-17.64L63.56,217q-.71,12.95-2,25.86-.62,6.21-1.38,12.41c0,.2-.74,5.79-.35,2.84-.34,2.54-.72,5.07-1.1,7.61-1.38,9.27,2.31,19.81,12.57,22.14s18.42-3.17,22.14-12.57c3.52-8.89,7-17.79,10.7-26.63l1.38-3.31q-1,2.32.28-.66c.71-1.65,1.42-3.3,2.14-4.94q2.87-6.57,5.92-13.06a311.49,311.49,0,0,1,27.53-48l-32.9-13.87L84.4,266.75c-2.08,8.79,2,17.69,10.42,21.23,8.05,3.4,18.06.5,22.48-7.36,21.7-38.67,43.47-77.37,68.7-113.89l-33.54-9.08c-.2,1.81-.4,3.61-.63,5.42.41-3.29-.39,2.65-.5,3.31q-.9,5.83-2,11.63c-1.36,7.14-2.92,14.25-4.62,21.31-3.55,14.78-7.69,29.4-11.78,44-8.44,30.22-16.23,60.5-19.29,91.82-.73,7.47,6.08,15.73,13.21,17.36,7.54,1.72,16.55-1,20.33-8.27C177.5,286.12,195.75,223,217.82,161.55q4.6-12.82,9.49-25.53,2.46-6.35,5-12.65,1.36-3.36,2.76-6.71c-.15.37-.86,2-.05.12q.89-2.09,1.79-4.17l-33.54-9.08c-.25,2.43-.51,4.86-.8,7.29q-.22,1.82-.46,3.63.29-2.19,0-.25c-.74,4.51-1.39,9-2.2,13.54-1.51,8.41-3.26,16.77-5.18,25.1-3.91,17-8.49,33.84-13.07,50.67-9.49,34.94-18.49,69.89-22.47,106-.82,7.45,6.15,15.75,13.21,17.36,7.57,1.72,16.5-1,20.33-8.27a690.74,690.74,0,0,0,71.88-213.47c1.44-9-1.57-17.5-10.42-21.23a18,18,0,0,0-22.48,7.36c-9.45,15.68-16.52,32.57-23.5,49.45s-13.89,33.7-20.75,50.59c-13.89,34.23-27.4,68.62-39.66,103.47q-10.39,29.53-19.4,59.52c-2.57,8.62,2.4,17.85,10.42,21.23,7.55,3.19,18.74.8,22.48-7.36a1103.61,1103.61,0,0,0,70-201.63q7-29.05,12.31-58.45l-34.71-9.57q-9.12,57.41-17.18,115-4.18,29.93-8.1,59.9c-2.46,18.87-4.68,37.81-3.64,56.88.83,15.25,19.25,24.16,30.73,12.73,13.92-13.87,22.33-32.63,30.59-50.18Q253.82,266,263.87,238A575.39,575.39,0,0,0,291.5,127c1.35-9.28-2.29-19.8-12.57-22.14-9.64-2.2-19.31,2.9-22.14,12.57q-30,102.63-54.55,206.73c-2.07,8.79,2,17.69,10.42,21.23,7.55,3.19,18.74.8,22.48-7.36C263,277.09,277.34,211.85,290,146.38c1.79-9.22-2.59-19.87-12.57-22.14-9.06-2.06-20,2.73-22.14,12.57a1445,1445,0,0,0-25.82,168.53c-.66,7,5.07,13.92,11.06,16.45s15.27,1.85,19.66-3.72c21.93-27.81,28.57-64.74,36.09-98.57a1065.94,1065.94,0,0,0,18.27-110.07c1-8.86-7.63-16.61-15.61-17.68a18,18,0,0,0-19.75,12.89c-18.28,68.24-36.57,136.51-52.3,205.39q-6.69,29.31-12.71,58.77c-1.87,9.2,2.65,19.88,12.57,22.14,10.09,2.3,18.76-3.06,22.14-12.57Q286.13,273.69,314,166q8-30.86,15.17-61.92l-34.71-9.57c-13.34,82.29-26.64,164.68-34,247.76-.67,7.49,6,15.72,13.21,17.36,8.39,1.91,15.38-1.54,20.33-8.27,9.85-13.41,14.69-29.84,18.6-45.8q6.59-26.91,11.35-54.23a883.44,883.44,0,0,0,12.36-112c.41-8.94-7.16-16.54-15.61-17.68-9-1.21-17,4.27-19.75,12.89a1014.2,1014.2,0,0,0-26.33,99.62c-7.33,34.89-13.38,70.71-10.8,106.47.93,12.92,14.79,23.32,27.08,15.54,14.35-9.09,21.2-24.29,27.88-39.23a484.23,484.23,0,0,0,18.11-46.62,565.26,565.26,0,0,0,21.49-93q4.19-28.08,6.52-56.38c.74-8.9-7.42-16.58-15.61-17.68s-18.31,4-19.75,12.89a912.2,912.2,0,0,0-10.61,202.73c.84,13.78,14.6,22.21,27.08,15.54,14.92-8,17.18-27.17,20.33-42.07,3.46-16.35,6.06-32.86,8.09-49.45a529.9,529.9,0,0,0,3.1-93.3c-.49-9-6.48-16.45-15.61-17.68-8.66-1.16-17.47,4.17-19.75,12.89a605.14,605.14,0,0,0-16.87,96.44q-2.2,23.43-2.45,47c-.17,15.66-1.61,34.32,11,46,6.23,5.74,14.38,6.54,21.81,2.81,15.79-7.91,22.1-28.33,28.3-43.53a346.39,346.39,0,0,0,14.87-45.13,369.25,369.25,0,0,0,11.36-99,18,18,0,0,0-15.61-17.68c-8.43-1.13-17.79,4.11-19.75,12.89-7.48,33.56-10.28,68.33-7.19,102.6.75,8.28,1.67,16.74,4,24.74,2.69,9.07,7.29,20.78,16.25,25.32,23.41,11.86,37.05-17.41,44.19-34.53a132.73,132.73,0,0,0,9.93-53.57,18,18,0,0,0-15.61-17.68c-9-1.21-17,4.27-19.75,12.89a175.19,175.19,0,0,0-8.15,58.39c.24,7.64,5.39,15.58,13.21,17.36,7.47,1.7,16.65-1,20.33-8.27,11.93-23.57,15-50.57,7.66-76.07-5-17.48-29.32-16.72-34.71,0a185.62,185.62,0,0,0-8.72,65.33c.36,7.65,5.31,15.56,13.21,17.36,7.36,1.68,16.79-1,20.33-8.27,8-16.61,13.78-34,16.28-52.27l-35.36-4.79a125,125,0,0,0,3.06,25.18c2.12,9.29,5.07,20,13.56,25.39,9.25,5.87,21.56,4.34,29.58-3,7.21-6.6,9.07-15.59,9.69-25s-8.73-18.42-18-18c-10.29.46-17.32,7.92-18,18q-.29,3.18.17-.05l-.32,1.54c1.92-2.79,2.45-4.38,6.72-5.51q6.64-1.77,10.24,4,5.8,7.11,3.58,2c-.39-1.79-1.14-3.6-1.62-5.37a84.7,84.7,0,0,1-2.29-11c.33,2.51,0-.78-.09-1.72-.17-2.18-.25-4.35-.3-6.54a18,18,0,0,0-15.61-17.68c-7.89-1.06-18.53,4-19.75,12.89a160.51,160.51,0,0,1-5,23.71q-1.65,5.6-3.72,11.07c-.14.37-2.05,5.11-.89,2.36-.94,2.21-2,4.37-3,6.53l33.54,9.08c-1-21.1,1-35.82,7.44-55.76H405.08c.7,2.43,1.33,4.87,1.83,7.35.22,1.1.39,2.21.59,3.32.51,2.77-.07-2.59,0,.23.1,5.1.51,10,.08,15.14,0,.34-.41,3.77-.15,1.79s-.27,1.43-.33,1.77q-.69,3.73-1.71,7.38c-.61,2.17-1.33,4.29-2.08,6.41-1.71,4.9.88-1.5-.43,1.15-.62,1.26-1.2,2.54-1.84,3.79l33.54,9.08c-.13-4.38-.13-8.75.08-13.13q.16-3.28.46-6.55c.06-.65.77-6.58.35-3.6a154.76,154.76,0,0,1,6-25.54l-35.36-4.79c.06,2.88.05,5.75-.08,8.63q-.12,2.58-.36,5.16c0,.42-.6,4.93-.28,2.75s-.41,2.31-.49,2.72q-.39,2.12-.86,4.23-1,4.63-2.42,9.17c-.85,2.75-1.84,5.45-2.84,8.15-1.11,3,.33-.43-.53,1.27-.65,1.28-1.2,2.61-1.84,3.9q-2.11,4.25-4.57,8.31c-.74,1.23-1.52,2.44-2.3,3.65l-1,1.43a8.22,8.22,0,0,1,5.1-4h9.57l6.34,5-.83-1.46c-.1-.35-2-4.4-1.22-2.39.68,1.7-.46-1.46-.56-1.76-.35-1.06-.66-2.13-1-3.21-.66-2.45-1.14-4.93-1.6-7.42-.27-1.49-.32-2.13-.09-.25-.14-1.12-.26-2.24-.38-3.37a299.4,299.4,0,0,1-1.47-33,317.45,317.45,0,0,1,1.92-32.46c.14-1.27.29-2.53.44-3.8.38-3.17-.33,2.26.11-.91q.6-4.26,1.32-8.51c1-5.66,2.09-11.29,3.34-16.89l-35.36-4.79a351.15,351.15,0,0,1-1.83,44.74q-.29,2.73-.62,5.45-.16,1.36-.34,2.72.35-2.65-.11.65c-.56,3.62-1.11,7.23-1.76,10.83q-1.93,10.8-4.53,21.47A348.29,348.29,0,0,1,352,277.19q-1,2.56-2,5.11c-.11.27-2.12,5.16-1,2.46-1.42,3.37-2.92,6.71-4.46,10a88.61,88.61,0,0,1-4.7,9.23q-.57,1-1.22,1.87,1.8-2.24.5-.82t.94-.46a14.86,14.86,0,0,1-2.52,1.42l21.81,2.81c-3.38-3.12,2.27,3-.49-.56q1.21,3,.61,1.12a17.82,17.82,0,0,1-.49-2l.23,2q-.15-1.42-.22-2.84c-.07-1.26-.08-2.51-.1-3.77-.12-7.36-.07-14.73.11-22.09q.52-21.61,2.69-43.14.53-5.26,1.15-10.5.34-2.86.71-5.72c-.31,2.44.14-1,.26-1.88q1.55-10.94,3.52-21.81,3.94-21.75,9.56-43.13l-35.36-4.79a530.22,530.22,0,0,1-2.22,85.64q-.57,5.27-1.24,10.53l-.25,1.91q.25-1.93,0,0c-.27,1.91-.55,3.82-.84,5.72q-1.6,10.48-3.62,20.89t-4.47,20.72c-.74,3.11-1.55,6.19-2.34,9.28q-.87,2.45-.07.53t-.28.4c.69-.62,4.75-3.54,1.65-1.88l27.08,15.54a891.08,891.08,0,0,1-.63-98.28q1.2-24.31,3.73-48.53,1.27-12.1,2.87-24.17c-.38,2.8.43-3,.42-2.93q.41-2.89.84-5.78,1-6.74,2.11-13.47L328.91,121c-.8,9.68-1.74,19.35-2.87,29-1.19,10.13-1.81,14.74-3.62,25.92-3,18.58-6.78,37-11.54,55.24a477.78,477.78,0,0,1-17.28,53.52c-.88,2.25-1.8,4.49-2.7,6.74q-1.25,3-.29.72-.71,1.67-1.44,3.33-2.91,6.66-6.05,13.21A118.25,118.25,0,0,1,277,320.34q-.84,1.35-1.75,2.64,1.85-2.32-.14,0a29.36,29.36,0,0,1-2.22,2.17q2.44-1.79-.14-.07l27.08,15.54A270.63,270.63,0,0,1,301.24,290q.23-1.94.47-3.88.43-3.36.14-1,.41-2.91.86-5.81.9-5.81,1.94-11.6c1.54-8.63,3.26-17.22,5.08-25.79q10.5-49.49,25.94-97.74l-35.36-4.79q-1.19,26.23-4,52.34-.73,6.77-1.57,13.52c-.68,5.5-.63,5.14-1.41,10.63q-1.86,13-4.12,25.92-4.52,25.86-10.66,51.4c-1.8,7.47-3.64,14.94-6.17,22.21q-.82,2.37-1.75,4.7c1.34-3.39-1.3,2.68-1.61,3.28a73.15,73.15,0,0,1-6.14,9.86l33.54,9.08q2.72-30.54,6.41-61,1.77-14.73,3.73-29.43.45-3.37.14-1.1l.53-3.92q.53-3.92,1.08-7.84,1-7.35,2.08-14.69c5.78-40.15,12.27-80.19,18.76-120.23,1.5-9.26-2.39-19.82-12.57-22.14-9.19-2.09-19.87,2.76-22.14,12.57q-25.1,108.22-59.66,213.94-9.92,30.3-20.61,60.33l34.71,9.57c14.09-69.24,31.42-137.76,49.5-206q7.69-29.07,15.5-58.11l-35.36-4.79c-2,17.45-3.85,30.71-6.94,49.05Q267.44,183.37,262,208c-3.57,16.18-7.47,32.31-11.9,48.29a213.58,213.58,0,0,1-6.83,20.94c1.3-3.31-1.29,2.81-1.58,3.4-.73,1.51-1.5,3-2.32,4.46s-1.67,2.9-2.56,4.32c-.34.54-4.18,5.85-2.07,3.17l30.73,12.73q1.91-20.39,4.4-40.72.6-4.84,1.22-9.67c0,.09.76-5.73.39-2.95q.33-2.42.67-4.83,1.41-10.14,3-20.26,6.25-40.48,14.89-80.53l-34.71-9.57c-6.14,31.68-12.51,63.34-20.74,94.56-4.1,15.56-8.65,31-13.86,46.24q-3.9,11.41-8.3,22.63-1,2.59-2.07,5.17s-2.14,5.19-1,2.55c-1.68,4-3.46,7.95-5.26,11.89L237,333.72Q261.49,229.66,291.5,127l-34.71-9.57A575.45,575.45,0,0,1,230.37,225q-4.52,12.87-9.65,25.52c-2.51,6.19-5.93,14.07-9.81,22.38s-7.85,16.34-12.08,24.35c-2.14,4-4.35,8.06-6.85,11.9-.35.54-4.27,5.81-2.19,3.27a67.21,67.21,0,0,1-4.61,5l30.73,12.73c-1-18.74,1.1-37.36,3.51-55.92,2.44-18.77,4.47-33.68,7.21-53.26q7.93-56.58,16.9-113C245,98.76,241.15,88.2,231,85.87c-8.81-2-20.33,2.67-22.14,12.57a1080.26,1080.26,0,0,1-56.74,199.95q-2.55,6.52-5.19,13-1.41,3.46-2.84,6.91L143,320.89q-.72,1.72,0,0l-.73,1.72q-5.85,13.74-12.07,27.32l32.9,13.87c20.79-69.6,48.24-136.92,75.87-204q2.84-6.89,5.69-13.78s1.16-2.76.51-1.22,1.28-3,1.24-2.89q1.27-2.93,2.58-5.84a250.9,250.9,0,0,1,13.8-26.69L229.84,95.5a675.61,675.61,0,0,1-26.1,106.62q-4.31,12.92-9.14,25.67-2.41,6.37-5,12.69c-.9,2.25-1.83,4.48-2.75,6.73q-1.25,3-.3.72l-1.07,2.51q-10.93,25.46-23.94,49.94l33.54,9.08c.27-2.43.54-4.86.86-7.28-.42,3.22.41-2.72.51-3.37q1-6.79,2.29-13.53c1.56-8.4,3.36-16.76,5.31-25.09,4-17,8.6-33.82,13.17-50.66,9.48-34.92,18.35-69.92,22-106,.76-7.47-6.1-15.74-13.21-17.36s-17.13.86-20.33,8.27c-26,60.13-43.17,123.44-67.71,184.11q-1.36,3.36-2.75,6.7c-.35.84-.69,1.67-1,2.51.75-1.78.05-.14-.31.7-1.8,4.15-3.62,8.3-5.5,12.41q-5.83,12.78-12.33,25.23l33.54,9.08c.18-1.81.36-3.62.57-5.43q.21-1.8.44-3.61-.31,2.23,0,.29c.61-3.89,1.19-7.77,1.89-11.64,1.29-7.15,2.81-14.26,4.46-21.33,3.46-14.79,7.56-29.42,11.65-44,8.46-30.25,16.4-60.46,19.84-91.76.82-7.45-6.15-15.75-13.21-17.36-8.23-1.87-15.6,1.43-20.33,8.27-25.23,36.52-47,75.21-68.7,113.89l32.9,13.87,24.11-101.86c2.08-8.79-2-17.69-10.42-21.23-8.7-3.67-17.21,0-22.48,7.36-22.76,32-37.21,68.87-51.58,105.17l34.71,9.57c2.89-19.34,5-38.75,6.1-58.28.42-7.54-5.86-15.68-13.21-17.36C78,197.79,70.9,201.2,66,208L53.29,225.6,81.56,222l-4.41-4.08c-6.91-6.39-18.7-7.36-25.46,0-6.38,7-7.38,18.63,0,25.46Z' id='border'></path>
      <path d='M256 315.6c-32.9 0-59.6-26.7-59.6-59.6s26.7-59.6 59.6-59.6 59.6 26.7 59.6 59.6S288.9 315.6 256 315.6z' id='innerCircle'></path>
      <circle cx='351.5' cy='160.5' id='circle' r='21.5'></circle>
    </g>
  </svg>
  <arcticben id='zeu'>
    give it a sec
  </arcticben>
  <div id='viu'></div>
</body>
            
          
!
            
              $svg-colour = #fff

body 
   overflow hidden
  
svg
    width 325px
    margin 0 auto
    position absolute
    left 0
    right 0
    top 25%
    z-index 10
    
#border, #innerCircle
    fill none
    stroke $svg-colour
    stroke-width 30px
        
#innerCircle
     opacity: 0
     
#circle
    fill $svg-colour
 
.activ    
   color #fff
    
arcticben 
    font-family Montserrat
    opacity 1   
    position absolute
    margin 0 auto
    left 0 
    right 0
    color #244785
    top 25%
    font-size 20px
    z-index 10
    width 325
    height 185px
    padding-top  140px
    overflow hidden
    transition-duration 0.7s
    text-align center
    
        
#viu
    visibility inherit
    opacity 1
    position absolute
    z-index 1
    left 0
    right 0
    top 0 
    bottom 0
    background: #1e3c72  
    background: -webkit-linear-gradient(to right, #2a5298, #1e3c72)
    background: linear-gradient(to right, #2a5298, #1e3c72)
    
     
            
          
!
            
              //objects
var svg = document.getElementById('instagram'),
    border = document.getElementById('border'),
    innerCircle = document.getElementById('innerCircle'),
    circle = document.getElementById('circle'),
    barbat = document.getElementById('zeu'),
    viuviu = document.getElementById('viu'),
    corp = document.body;
 

//TL
 var tl = new TimelineMax();
     tl
        .set(innerCircle, {drawSVG:'0'})
        .from(border, 1.5, {drawSVG:'0',ease:Power4.easeInOut})    
        .to(innerCircle, 1.5, {drawSVG:'100%', autoAlpha:1 , ease:Power4.easeInOut},0.5)
        .from(circle, 1,{autoAlpha:0,y:-15, ease:Bounce.easeOut},1.4)
        .to(svg, 1,{scale: 12, ease:Power4.easeOut},2.4)    
        .set(barbat,{css:{className:'activ'}},2.6);
tl.play();
  
            
          
!
999px
Close

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.

Go PRO

Loading ..................

Console