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#instagram{:viewbox => "0 0 512 512"}
    %g
      %path#border{:d => "M256 77.1c-48.6 0-54.7 0.2-73.8 1.1 -19 0.9-32.1 3.9-43.4 8.3 -11.8 4.6-21.7 10.7-31.7 20.6 -9.9 9.9-16.1 19.9-20.6 31.7 -4.4 11.4-7.4 24.4-8.3 43.4 -0.9 19.1-1.1 25.2-1.1 73.8 0 48.6 0.2 54.7 1.1 73.8 0.9 19 3.9 32.1 8.3 43.4 4.6 11.8 10.7 21.7 20.6 31.7 9.9 9.9 19.9 16.1 31.7 20.6 11.4 4.4 24.4 7.4 43.4 8.3 19.1 0.9 25.2 1.1 73.8 1.1s54.7-0.2 73.8-1.1c19-0.9 32.1-3.9 43.4-8.3 11.8-4.6 21.7-10.7 31.7-20.6 9.9-9.9 16.1-19.9 20.6-31.7 4.4-11.4 7.4-24.4 8.3-43.4 0.9-19.1 1.1-25.2 1.1-73.8s-0.2-54.7-1.1-73.8c-0.9-19-3.9-32.1-8.3-43.4 -4.6-11.8-10.7-21.7-20.6-31.7 -9.9-9.9-19.9-16.1-31.7-20.6 -11.4-4.4-24.4-7.4-43.4-8.3C310.7 77.3 304.6 77.1 256 77.1L256 77.1z"}
      %path#innerCircle{: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"}
      %circle#circle{:cx => "351.5", :cy => "160.5", :r => "21.5"}

  %arcticben#zeu
    arcticben.co.uk
    %span
      |
    
  #viu 
            
          
!
            
              $svg-colour = #fff

body 
   overflow hidden
  
svg
    width 325px
    margin 0 auto
    position absolute
    left 0
    right 0
    top 20%
    z-index 10
    
#border, #innerCircle
    fill none
    stroke $svg-colour
    stroke-width 30px
        
#innerCircle
     opacity: 0
     
#circle
    fill $svg-colour
 
arcticben 
    opacity 0
    z-index 10
    
.activ
    font-family Montserrat
    opacity 1
    height 55px
    position absolute
    margin 0 auto
    left 0 
    right 0
    color #fff
    top 35%
    font-size 50px
    width 9em
    overflow hidden
    animation-delay 1s
    animation type 1s steps(20, end)
    
    @keyframes type
      from  { width: 0 }
span
    animation: blink 1s infinite
      
    @keyframes blink
      to  { opacity: .0 }
        
#viu
    visibility inherit
    opacity 1
    position absolute
    z-index 1
    left 0
    right 0
    top 0
    bottom: 0
    background -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%)
    background -webkit-linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%)
    background linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%)
    
     
            
          
!
            
              //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