Skip to main content

3) Color Line Icons

Copy the following code :

<style>
    * {
        box-sizing: border-box;
    }
    #bhero-cssanime:hover li {
        opacity: 0.2;
    }
    #bhero-cssanime li {
        -webkit-transition-property: opacity;
        -webkit-transition-duration: 500ms;
        -moz-transition-property: opacity;
        -moz-transition-duration: 500ms;
    }
    #bhero-cssanime li a strong {
        opacity: 0;
        -webkit-transition-property: opacity, top;
        -webkit-transition-duration: 300ms;
        -moz-transition-property: opacity, top;
        -moz-transition-duration: 300ms;
    }
    #bhero-cssanime li:hover {
        opacity: 1;
    }
    #bhero-cssanime li:hover a strong {
        opacity: 1;
        top: -10px;
    }
    /* Mobile Responsive */
    
    @media only screen and (max-width: 900px) {
        ul.bhero-s1-social {
            margin: 6% 5%;
            float: none;
            padding: 0!important;
        }
        li.bhero-s1 {
            width: 50px;
            height: 50px;
            margin: 5px;
            list-style: none;
            display: inline-block;
        }
        li.bhero-s1 {
            width: 55px;
            height: 55px;
        }
    }
    @media only screen and (min-width: 900px) {
        li.bhero-s1 {
            list-style-type: none;
            width: 50px;
            height: 50px;
            list-style: none;
            display: inline-block;
            margin: 2px;
        }
    }
    /* START TOOLTIP STYLES */
    
    [tooltip] {
        position: relative;
        /* opinion 1 */
    }
    /* Applies to all tooltips */
    
    [tooltip]::before,
    [tooltip]::after {
        text-transform: none;
        /* opinion 2 */
        
        font-size: 14px;
        /* opinion 3 */
        
        line-height: 1;
        user-select: none;
        pointer-events: none;
        position: absolute;
        display: none;
        opacity: 0;
    }
    [tooltip]::before {
        content: '';
        border: 5px solid transparent;
        /* opinion 4 */
        
        z-index: 1001;
        /* absurdity 1 */
    }
    [tooltip]::after {
        content: attr(tooltip);
        /* magic! */
        /* most of the rest of this is opinion */
        
        font-family: Helvetica, sans-serif;
        text-align: center;
        /* 
    Let the content set the size of the tooltips 
    but this will also keep them from being obnoxious
    */
        
        min-width: 3em;
        max-width: 21em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 1ch 1.5ch;
        border-radius: .3ch;
        box-shadow: 0 1em 2em -.5em rgba(0, 0, 0, 0.35);
        background: #333;
        color: #fff;
        z-index: 1000;
        /* absurdity 2 */
    }
    /* Make the tooltips respond to hover */
    
    [tooltip]:hover::before,
    [tooltip]:hover::after {
        display: block;
    }
    /* don't show empty tooltips */
    
    [tooltip='']::before,
    [tooltip='']::after {
        display: none !important;
    }
    /* FLOW: UP */
    
    [tooltip]:not([flow])::before,
    [tooltip][flow^="up"]::before {
        bottom: calc(100% + 30px);
        border-bottom-width: 0;
        border-top-color: #333;
    }
    [tooltip]:not([flow])::after,
    [tooltip][flow^="up"]::after {
        bottom: calc(100% + 35px);
    }
    [tooltip]:not([flow])::before,
    [tooltip]:not([flow])::after,
    [tooltip][flow^="up"]::before,
    [tooltip][flow^="up"]::after {
        left: 50%;
        transform: translate(-50%, -20px);
    }
    /* FLOW: DOWN */
    
    [tooltip][flow^="down"]::before {
        top: 100%;
        border-top-width: 0;
        border-bottom-color: #333;
    }
    [tooltip][flow^="down"]::after {
        top: calc(100% + 5px);
    }
    [tooltip][flow^="down"]::before,
    [tooltip][flow^="down"]::after {
        left: 50%;
        transform: translate(-50%, .5em);
    }
    /* FLOW: LEFT */
    
    [tooltip][flow^="left"]::before {
        top: 50%;
        border-right-width: 0;
        border-left-color: #333;
        left: calc(0em - 5px);
        transform: translate(-.5em, -50%);
    }
    [tooltip][flow^="left"]::after {
        top: 50%;
        right: calc(100% + 5px);
        transform: translate(-.5em, -50%);
    }
    /* FLOW: RIGHT */
    
    [tooltip][flow^="right"]::before {
        top: 50%;
        border-left-width: 0;
        border-right-color: #333;
        right: calc(0em - 5px);
        transform: translate(.5em, -50%);
    }
    [tooltip][flow^="right"]::after {
        top: 50%;
        left: calc(100% + 5px);
        transform: translate(.5em, -50%);
    }
    /* KEYFRAMES */
    
    @keyframes tooltips-vert {
        to {
            opacity: .9;
            transform: translate(-50%, 0);
        }
    }
    @keyframes tooltips-horz {
        to {
            opacity: .9;
            transform: translate(0, -50%);
        }
    }
    /* FX All The Things */
    
    [tooltip]:not([flow]):hover::before,
    [tooltip]:not([flow]):hover::after,
    [tooltip][flow^="up"]:hover::before,
    [tooltip][flow^="up"]:hover::after,
    [tooltip][flow^="down"]:hover::before,
    [tooltip][flow^="down"]:hover::after {
        animation: tooltips-vert 300ms ease-out forwards;
    }
    [tooltip][flow^="left"]:hover::before,
    [tooltip][flow^="left"]:hover::after,
    [tooltip][flow^="right"]:hover::before,
    [tooltip][flow^="right"]:hover::after {
        animation: tooltips-horz 300ms ease-out forwards;
    }
</style>



<div id="social-1">
    <ul class='bhero-s1-social' id='bhero-cssanime'>
        <li class='bhero-s1'>
            <a href='#' target='_blank'><span tooltip="Subsribe on Facebook"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiahIEWa4wWiQ1cDsRxPZOmVhFWcjSxZ2vdhTNe88YahK-OM96u1gknpBSmntcm6oJ86Q0x7FAttmylm_jkXbdt6oZRAG-8fstO-m_8Vub4OX6YdhvkJ6bLpi__vL_Ibfn0iysmdLfuxuw/s320/021-facebook.png" /></span></a>
        </li>
        <li class='bhero-s1'>
            <a href='#' rel='nofollow' target='_blank'><span tooltip="Follow on Twitter"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvQA47r2HeaholPsC-X8PvzAG_8-qMEqNNJeRJl1p9J-TXH-fg1fEQGQLv4HJx3NmY644TJosy6JuAl2yDqowej1-fXUZmj16ih1vEeSUo0oRlHn8Mt2YmC1HZx_KSxh_BFkieGhfEw3Q/s320/021-twitter.png" /></span></a>
        </li>
        <li class='bhero-s1'>
            <a href='#' rel='nofollow' target='_blank'><span tooltip="Follow on Google+"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcw43HO2e-hbiTN03uSxQD4WC5S_GRgyEexj_Tu8YlHWQ_-n89T9mRi_UX228cUTObLjvbLpzSz0767VX93iAh8lfP9f5jifkHyfkmvVkivn4WgAMAJ5f-w8ppZErV403lwdOuOyUrBW0/s320/021-google-plus.png" /></span></a>
        </li>
        <li class='bhero-s1'>
            <a href='#' rel='nofollow' target='_blank'><span tooltip="Follow on Instagram"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3Bvb4F1-zZNsEmdEb1J3XVGM3uDMFww24kBIVJlNTEgr78vx12EcTfIYkOb4COqCr7U2kWItPDkCU2KSfrTblVHITyOilDXhBdEzfvKTPv4LuF4xMA3nLkgWHyIkSkn6RaveZApo52-s/s320/021-instagram.png" /></span></a>
        </li>
        <li class='bhero-s1'>
            <a href='#' rel='nofollow' target='_blank'><span tooltip="Connect on WhatsApp"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQKr-2UhHlW5-Vb0Xjd1E2dGxjnY-aLvdaBQN4k-W4Hs1Ulndjhi8RT6WxVROq_UkS-zcYLF07Z8iVsTvlSsFGq2Xd5lLk3feE6rVfJjHRWk_m87EAuLZ_maSdD1VpDokSl8pjaLxyKzA/s320/021-whatsapp.png" /></span></a>
        </li>
        <li class='bhero-s1'>
            <a href='#' rel='nofollow' target='_blank'><span tooltip="Follow on Tumblr"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGPuNe0Lszng4XjJ6kOkD4Wux_AtYo0j3SvuAEuxze1IWG0xg2X1ohyphenhyphenbq7YlNf1x-71wC1oKjXYwQonTPSDhyphenhyphenaaALTZerxqLQA_bzlVrt5vRmPkjA1xHJgPuJ4YvqBB5E49Peyel9sBqg/s320/021-tumblr.png" /></span></a>
        </li>
        <li class='bhero-s1'>
            <a href='#' rel='nofollow' target='_blank'><span tooltip="Subscribe on Youtube"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7rS4_rV5i4oXsZwfyMmAcYuoQzu_KlLpaAK9sKaeutWRuTCNhRrol_MFI3RYvzCte9U2Ccd46Bt0LjzptZNsyjtqFkk2Pu33zTyfLcnoQphOt4IzRTUKkmS1D9_8_yXmYbE2AWuhbe7I/s320/021-youtube.png" /></span></a>
        </li>
        <li class='bhero-s1'>
            <a href='#' rel='nofollow' target='_blank'><span tooltip="Subscribe to RSS"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjh8xomixdzkK1ceGcfEaYWkmhqv8Hf8OMWnAcdMgU9XQ9tKii6Rmn4LJGEnXDiUoRXT8UwcB_SK8xRrFTpSSwiZbhEuyNnHeQFSrsZjt2fRhlrPI6LvJRXuhbczdeSVizZGOQmr8H1Y7k/s320/021-rss.png" /></span></a>
        </li>

    </ul>
</div>

Comments

Popular posts from this blog

1) Simple Elegant Icons

Copy the Following Code : <style> * { box-sizing: border-box; } #bhero-cssanime:hover li { opacity: 0.2; } #bhero-cssanime li { -webkit-transition-property: opacity; -webkit-transition-duration: 500ms; -moz-transition-property: opacity; -moz-transition-duration: 500ms; } #bhero-cssanime li a strong { opacity: 0; -webkit-transition-property: opacity, top; -webkit-transition-duration: 300ms; -moz-transition-property: opacity, top; -moz-transition-duration: 300ms; } #bhero-cssanime li:hover { opacity: 1; } #bhero-cssanime li:hover a strong { opacity: 1; top: -10px; } /* Mobile Responsive */ @media only screen and (max-width: 900px) { ul.bhero-s1-social { margin: 6% 5%; float: none; padding: 0!important; } li.bhero-s

2) Cute Flat Social Icons

Copy the following Code : <style> * { box-sizing: border-box; } #bhero-cssanime:hover li { opacity: 0.2; } #bhero-cssanime li { -webkit-transition-property: opacity; -webkit-transition-duration: 500ms; -moz-transition-property: opacity; -moz-transition-duration: 500ms; } #bhero-cssanime li a strong { opacity: 0; -webkit-transition-property: opacity, top; -webkit-transition-duration: 300ms; -moz-transition-property: opacity, top; -moz-transition-duration: 300ms; } #bhero-cssanime li:hover { opacity: 1; } #bhero-cssanime li:hover a strong { opacity: 1; top: -10px; } /* Mobile Responsive */ @media only screen and (max-width: 900px) { ul.bhero-s1-social { margin: 6% 5%; float: none; padding: 0!important; } li.bhero-s1

4) Real Social Media Icons

Copy the following code : <style> * { box-sizing: border-box; } #bhero-cssanime:hover li { opacity: 0.2; } #bhero-cssanime li { -webkit-transition-property: opacity; -webkit-transition-duration: 500ms; -moz-transition-property: opacity; -moz-transition-duration: 500ms; } #bhero-cssanime li a strong { opacity: 0; -webkit-transition-property: opacity, top; -webkit-transition-duration: 300ms; -moz-transition-property: opacity, top; -moz-transition-duration: 300ms; } #bhero-cssanime li:hover { opacity: 1; } #bhero-cssanime li:hover a strong { opacity: 1; top: -10px; } /* Mobile Responsive */ @media only screen and (max-width: 900px) { ul.bhero-s1-social { margin: 6% 5%; float: none; padding: 0!important; } li.bhero-s1