How to create Amazing Neumorphism Social Buttons | HTML & CSS Project - Frontend everything
Hello Everyone 👋 Welcome to My New Blog. Today I have made an Amazing Neumorphism Social Buttons with the help of HTML and CSS Only! 😍
I am Piyush, Sharing About Web development Daily. You can also check out me at @frontendeverything.
Before starting the blog, you might think about where you can use this project in real-life-based projects. So it's an Amazing Neumorphism Social Buttons that you can use in your own blog project. So it will look attractive.
Let's start making these amazing Neumorphism Social Buttons Using HTML & CSS step by step.
So that was the preview now let us start making the project 😄 First, we will code HTML then CSS, and also I have shared codepen ink to make it easier for you.
HTML 🎈( step - 1)
In HTML we have used divs for container.
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" />
<div class="container">
<div class="icons-container animated">
<div class="icon-container">
<i class="fab fa-github fa-2x"></i>
</div>
<div class="icon-container">
<i class="fab fa-dribbble fa-2x"></i>
</div>
<div class="icon-container">
<i class="fab fa-codepen fa-2x"></i>
</div>
<div class="icon-container">
<i class="fab fa-instagram fa-2x"></i>
</div>
<div class="icon-container">
<i class="fab fa-linkedin-in fa-2x"></i>
</div>
<div class="icon-container">
<i class="fab fa-behance fa-2x"></i>
</div>
<div class="icon-container">
<i class="fab fa-twitter fa-2x"></i>
</div>
<div class="icon-container">
<i class="fab fa-facebook-f fa-2x" style="margin: 0 5px;"></i>
</div>
</div>
</div>
After the HTML we will design the neumorphism social buttons!..
Output till now
CSS🎈( step - 2)
body {
background: #f4f4f4;
}
.container {
max-width: 980px;
margin: 0 auto;
}
.icons-container {
margin: 0;
height: 100vh;
display: flex;
justify-content: space-around;
align-items: center;
}
.icons-container > .icon-container {
padding: 1em 1.2em;
border-radius: 0.5em;
transition: all 0.2s ease-in-out;
}
.icons-container.not-animated > .icon-container {
box-shadow: -12px -12px 12px 0 rgba(255, 255, 255, 0.6), 12px 12px 12px 0 rgba(0, 0, 0, 0.03);
transform: scale(1.05);
}
.icons-container.animated > .icon-container {
animation: raise-container 0.3s forwards 0.8s;
}
@keyframes raise-container {
from {
box-shadow: none;
transform: scale(1);
}
to {
box-shadow: -12px -12px 12px 0 rgba(255, 255, 255, 0.6), 12px 12px 12px 0 rgba(0, 0, 0, 0.03);
transform: scale(1.05);
}
}
Now we have done the CSS coding as well, now we will see the final output and also check the codepen link mentioned below.
Final Output
The codepen link is here for making your work easier!
.
If you found any value in this blog you can support me by buying me a coffee.
.
.
.
project:
.
.
Thank You For Scrolling Till here 😊. If You gain any knowledge then do checkout me at @frontendeverything. I am Piyush 🎉 I provide Content related to programming, technology, web development Daily.
.