SaaS Developer   
   About    Testimonials    Contact   

Custom sharing buttons with long shadows

Today I’ve finally added my custom sharing buttons to the end of the posts. And they’re the color yellow—like sunshine! I hope you like them :). Now let’s learn how to make them.

The long shadows are being rendered with 100% CSS. Thanks to the social icons, which are not images but font symbols, the shadows are styled with multiple ‘text-shadow‘ attribute.

text-shadow: rgb(217, 203, 27) 1px 1px,
    rgb(218, 204, 27) 2px 2px,
    rgb(219, 205, 27) 3px 3px,
    rgb(220, 205, 27) 4px 4px,
    rgb(220, 206, 27) 5px 5px,
    rgb(221, 207, 27) 6px 6px,
    rgb(222, 208, 27) 7px 7px,
    rgb(223, 208, 27) 8px 8px,
    rgb(224, 209, 28) 9px 9px,
    rgb(224, 210, 28) 10px 10px,
    rgb(225, 211, 28) 11px 11px,
    rgb(226, 211, 28) 12px 12px,
    rgb(227, 212, 28) 13px 13px,
    rgb(227, 213, 28) 14px 14px,
    rgb(228, 214, 28) 15px 15px,
    rgb(229, 214, 28) 16px 16px,
    rgb(230, 215, 28) 17px 17px,
    rgb(231, 216, 29) 18px 18px,
    rgb(231, 217, 29) 19px 19px,
    rgb(232, 217, 29) 20px 20px,
    rgb(233, 218, 29) 21px 21px,
    rgb(234, 219, 29) 22px 22px,
    rgb(234, 220, 29) 23px 23px,
    rgb(235, 220, 29) 24px 24px,
    rgb(236, 221, 29) 25px 25px,
    rgb(237, 222, 29) 26px 26px,
    rgb(238, 223, 30) 27px 27px;
    

Check out them live at the end of each blog post.


comments powered by Disqus