Hello developers, today in this blog, you'll learn to create Animated Social Media Buttons using HTML & CSS.
The Social links and buttons enable your website visitors and content viewers to easily share your content with their social media connections and networks. The social media buttons can be used on your website, to share your content with others.
In this blog (Animated Social Media Buttons), on the webpage, there are four social media buttons with their respective colors. When you click on the social media icons or button the animation will appear, that is the button will be animated like a pressed button.
The source code of this Animated Social Media button is given below if you want the source code of this program, you can copy it. You can use these Animated Social Media Buttons with your creativity and, can take this project to the next level.
Animated Social Media Buttons [Source Code]
To make this website (Animated Social Media Buttons), you need to create two files: an HTML file and a CSS file. First, create an HTML file with the name index.html and remember, you have to create a file with a .html extension.
<!DOCTYPE html> lang="en" dir="ltr"
charset="utf-8"
Animated Social Media Buttons || Learningrobo
rel="stylesheet" href="style.css"
rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"
class="buttons"
class="row"
class="facebook"
class="fab fa-facebook-f"
Facebook
class="instagram"
class="fab fa-instagram"
Instagram
class="row"
class="twitter"
class="fab fa-twitter"
Twitter
class="youtube"
class="fab fa-youtube"
YouTube
@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
html,body{
display: grid;
height: 100%;
place-items: center;
background: #FFB5C5;
}
.buttons{
display: flex;
width: 500px;
height: 300px;
align-items: center;
justify-content: space-around;
}
.buttons .row{
display: block;
margin-left: 60px;
}
.buttons .row button{
Thank you for reading our blog. If you face any problem in creating these Animated Social Media Buttons using HTML & CSS, then contact us or comment to us. We’ll try to provide a solution to your problem as soon as possible.
إرسال تعليق
Thank you
Learning robo team