This blog will make a simple glowing animation on social media icons using HTML and CSS. This kind of glowing CSS animation is stylish and makes a widget looks beautiful. I have shared some CSS animation based snippet in this blog before, and today we will make a nice-looking social media button hover animation effect.
The widget of Social Media is something to display icons of their social networks and connections and other subscription options to show icons on those social media sites and much more that opens in a separate browser window.
Initially, the icons remain as it is, but it will give a glowing effect around it when we hover over a specific icon. I have taken four social media icons and gave each of them a specific luminous color when we hover over them. You can change the color when you modify the snippet on your own and see how it looks. See the video demo below how it will look like at the end of the coding.
I hope you watched the video and get some idea about how it will look like in the end. In the HTML part, I have taken an unordered list and four list items with a separate font-awesome icon on each. You have to link font-awesome CDN before start coding for this snippet; otherwise, the icons will not appear.
in the CSS part, I have reset the default margin padding of the document by giving the body tag a margin and padding of zero. I also set a specific blackish background color for the entire document. After that, I did some basic CSS styling to make the project in the middle. I made the social media icon box a round shape and gave them a background-color and color for the default stage. I then used CSS pseudo-class and gave each 'a' element a different background color, and set a glowing hover effect for each using box-shadow and text-shadow effect. Without further explanation, I am providing you the code to play around with the code by yourself.
Glowing Social Media Icons Widget (Source Code);
To make this snippet, please create an HTML file and a CSS file. Then link the CSS file to your HTML file. Please copy the code below and paste them into the individual files and save.
HTML
CSS
I hope you liked this. Please follow our social media profiles and stay connected with this blog. Thank you for visiting us, and keep visiting for more snippets like this soon.
Please do not enter any spam link in the comment box.
Post a Comment
Please do not enter any spam link in the comment box.
Post a Comment
Please do not enter any spam link in the comment box.