How To Create A CSS Animated Share Button Every website now has social network share buttons on their site, if you don't have them then you really should do. They're a great way to give your visitors easy access to share your content with their friends and followers. The thing with social network share buttons is that they all look the same on every website, you can take this two ways. It's either a good thing because people will recognise them and understand how to use them or it's a bad thing because now your website looks the same as every other website on the internet. Within these 2 sections we are going to show or hide the article tags to display the share buttons. In this example there will be 2 share buttons on each article tag, totally 4 share buttons which will be displayed. Below is the full HTML code with all of the social buttons in the different sections. Full HTML Code The below code is to be used on a WordPress single.php page as it uses the WordPress function the_permalink() . If you are not using this on WordPress remove this function and replace it with the URL you want to share. The CSS The CSS will be done in two stages first we will be creating the button then we will be creating the animation to change the look of the sections from displaying the text to displaying the social buttons.