Skip to content

Instantly share code, notes, and snippets.

@christinedanielle
Last active November 4, 2015 09:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save christinedanielle/407daf1d2091a1229ff5 to your computer and use it in GitHub Desktop.
Save christinedanielle/407daf1d2091a1229ff5 to your computer and use it in GitHub Desktop.
CSS SHARE BUTTON
/* START OF CSS SHARE POST BUTTON */
.sharepostbutton{overflow:hidden;text-align:center;margin-bottom:20px;margin-top:20px;padding:10px 0; }
.sharepostbutton li{float:left;margin:0 1%;width:18%;padding:0;list-style:none;position:relative;}
.sharepostbutton li a{10px 0 3px 8px;color:#fff;display:block;border-radius:2px;}
.sharepostbutton a:hover{color:white;}
.sharepostbutton li .twitter{background-color:#85c5f5;}
.sharepostbutton li .facebook{background-color:#6381c0;}
.sharepostbutton li .gplus{background-color:#ed6d5d;}
.sharepostbutton li .pinterest{background-color:#e44d52;}
.sharepostbutton li .linkedin{background-color:#2c9ad8;}
.sharepostbutton li .twitter:hover,
.sharepostbutton li .pinterest:hover,
.sharepostbutton li .facebook:hover,
.sharepostbutton li .gplus:hover,
.sharepostbutton li .linkedin:hover
{-moz-box-shadow: inset 0 0 100px 100px rgba(255, 255, 255, 0.3);
-webkit-box-shadow: inset 0 0 100px 100px rgba(255, 255, 255, 0.3);
box-shadow: inset 0 0 100px 100px rgba(255, 255, 255, 0.3);
}
.sharepost li:last-child{margin-right:0}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment