Neumorphic Social Media Icons with Animation using HTML & CSS

Neumorphic Social Media Icons with Animation using HTML & CSS

Hello developers, today in this blog, you'll learn to create Neumorphic Social Media Icons with Animation 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. Neumorphism is a minimal way to design with a soft, extruded plastic look.

In this blog (Neumorphic Social Media Icons with Animation), on the webpage, there are four social media icons with neomorphic and box-shadow. The hover effect has been used in every icon. While hovering the icon the pulse animation is performed with different background colors. These social media icons are made neomorphic and animated by using CSS property.

The source code of this Neumorphic Social Media Icons with Animation is given below if you want the source code of this program, you can copy it. You can use this Neumorphic Social Media Icons with Animation on your creativity and, can take this project to the next level.

Neuromorphic Social Media Icons with Animation [Source Code]

To make this website (Neumorphic Social Media Icons with Animation), you need to create two files: an HTML file and a CSS file. First, create an HTML file with the name of index.html and remember, you have to create a file with a .html extension.

<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <title>Neumorphism Social Media Icons || Learningrobo</title> <link rel="stylesheet" href="style.css"> </head> <body> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <div class="container"> <button class="btn f"> <i class="fa fa-facebook" style="font-size:35px;"></i> </button> <button class="btn i"> <i class="fa fa-instagram" style="font-size:35px;"></i> </button> <button class="btn t"> <i class="fa fa-twitter" style="font-size:35px;"></i> </button> <button class="btn l"> <i class="fa fa-linkedin" style="font-size:35px;"></i> </button> <div class="credit">Made with <span style="color:tomato;font-size:20px;">❤</span> by <a href="https://www.learningrobo.com/">Learning Robo</a></div> </body> </html>
CSS provides style to an HTML page. To make the page attractive create a CSS file with the name style.css and, remember that you have to create a file with a .css extension.


body {
  background: #d6d6d6;
}

.container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
}

.btn {
  width: 70px;
  height: 70px;
  margin: 20px;
  outline: none;
  border: none;
  background: #d6d6d6;
  box-shadow: 5px 5px 10px #b6a9a9, -5px -5px 10px #ffffff;
  border-radius: 50%;
  transition: 0.2;
}

.btn:hover {
  cursor: pointer;
  animation-name: pulse;
  animation-duration: 3s;
  animation-iteration-count: infinite;
}

.f:hover{
background-color:#3b5998
}
.i:hover{
  background-color:#ef4056
}
.t:hover{
  background-color:#55acee
}
.l:hover{
  background-color:#0077b5
}
@keyframes pulse {
  from {
    transform: scale(1);
  }
  50% {
    transform: scale(1.21);
  }
  to {
    transform: scale(1);
  }
}
.credit a{
  text-decoration: none;
  color: tomato;
  font-weight: 800;
}
  
.credit {
    text-align: center;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    margin: 10px;
}
We hope you would like these Neumorphic Social Media Icons with Animation using HTML & CSS.

Thank you for reading our blog. If you face any problem in creating these Neumorphic Social Media Icons with Animation using HTML & CSS, then contact us or comment us. We’ll try to provide a solution to your problem as soon as possible.

Thank you
Learning robo team

Post a Comment

Thank you
Learning robo team

Post a Comment (0)

Previous Post Next Post
Learning Robo says...
code copied
Welcome