hello readers, Today in this tutorial you'll learn how to create Neumorphsm Profile Card Design using only HTML & css, Earlier i have shared  how to create neumorphic logingform and now i am going to create neumorphism profile card effect.in this tutorials (neumorphism Profile card ),there is a profile card with a neomorphic effect, this card contains a profile image, social media button and some social media info. whene you hover a particuler social media buttons, there is shown a neomorphic effect and also have three buttons like comment and share. this card is fully based on HTML and CSS,

 

Neumorphism Profile card Design( Source code)

First , you need to create two files  one is HTML file and another is CSS file , after creating  these file  just copy this given code and paste your file.

1.add index.html

index.html

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Neumorphism Profile Card | w3ccss&tl;/title>
<link rel="stylesheet" href="style.css">
<script src="https://kit.fontawesome.com/a076d05399.js"></script>
</head>
<body>
<div class="w3c_wrapper">
<div class="w3c_img-area">
<div class="w3c_inner-area">
<img src="bill.jpg" alt="">
</div>
</div>
<div class="icon arrow"><i class="fas fa-arrow-left"></i></div>
<div class="icon dots"><i class="fas fa-ellipsis-v"></i>>/div>
<div class="w3c_name">w3c css</div>
<div class="w3c_about">Designer & Developer</div>
<div class="w3c_social-icons">
<a href="#" class="fb"><i class="fab fa-facebook-f"></i></a>
<a href="#" class="twitter"><i class="fab fa-twitter"></i></a>
<a href="#" class="insta"><i class="fab fa-instagram"></i></a>
<a href="#" class="yt"><i class="fab fa-youtube"></i></a>
</div>
<div class="w3c_buttons">
<button>Message</button>
<button>Subscribe</button>
</div>
<div class="w3c_social-share">
<div class="w3c_row">
<i class="far fa-heart"></i>
<i class="icon-2 fas fa-heart"></i>
<span>10k</span>
</div>
<div class="w3c_row">
<i class="far fa-comment"></i>
<i class="icon-2 fas fa-comment"></i>
<span>10.3k</span>
</div>
<div class="w3c_row">
<i class="fas fa-share"></i>
<span>15.5k</span>
</div>
</div>
</div>
</body>
</html>
2.add style.css

style.css

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body{
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
background: #ecf0f3;
}
.w3c_wrapper,
.w3c_wrapper .w3c_img-area,
.w3c_social-icons a,
.w3c_buttons button{
background: #ecf0f3;
box-shadow: -3px -3px 7px #ffffff,
3px 3px 5px #ceced1;
}
.w3c_wrapper{
position: relative;
width: 350px;
padding: 30px;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.w3c_wrapper .icon{
font-size: 17px;
color: #31344b;
position: absolute;
cursor: pointer;
opacity: 0.7;
top: 15px;
height: 35px;
width: 35px;
text-align: center;
line-height: 35px;
border-radius: 50%;
font-size: 16px;
}
.w3c_wrapper .icon i{
position: relative;
z-index: 9;
}
.w3c_wrapper .icon.arrow{
left: 15px;
}
.w3c_wrapper .icon.dots{
right: 15px;
}
.w3c_wrapper .w3c_img-area{
height: 150px;
width: 150px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}
.w3c_img-area .w3c_inner-area{
height: calc(100% - 25px);
width: calc(100% - 25px);
border-radius: 50%;
}
.w3c_inner-area img{
height: 100%;
width: 100%;
border-radius: 50%;
object-fit: cover;
}
.w3c_wrapper .w3c_name{
font-size: 23px;
font-weight: 500;
color: #31344b;
margin: 10px 0 5px 0;
}
.w3c_wrapper .w3c_about{
color: #44476a;
font-weight: 400;
font-size: 16px;
}
.w3c_wrapper .w3c_social-icons{
margin: 15px 0 25px 0;
} .w3c_social-icons a{
position: relative;
height: 40px;
width: 40px;
margin: 0 5px;
display: inline-flex;
text-decoration: none;
border-radius: 50%;
}
.w3c_social-icons a:hover::before,
.w3c_wrapper .icon:hover::before,
.w3c_buttons button:hover:before{
content: "";
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
border-radius: 50%;
background: #ecf0f3;
box-shadow: inset -3px -3px 7px #ffffff,
inset 3px 3px 5px #ceced1;
}
.w3c_buttons button:hover:before{
z-index: -1;
border-radius: 5px;
}
.w3c_social-icons a i{
position: relative;
z-index: 3;
text-align: center;
width: 100%;
height: 100%;
line-height: 40px;
}
.w3c_social-icons a.fb i{
color: #4267B2;
}
.w3c_social-icons a.twitter i{
color: #1DA1F2;
}
.w3c_social-icons a.insta i{
color: #E1306C;
}
.w3c_social-icons a.yt i{
color: #ff0000;
}
.w3c_wrapper .w3c_buttons{
display: flex;
width: 100%;
justify-content: space-between;
}
.w3c_buttons button{
position: relative;
width: 100%;
border: none;
outline: none;
padding: 12px 0;
color: #31344b;
font-size: 17px;
font-weight: 400;
border-radius: 5px;
cursor: pointer;
z-index: 4;
}
.w3c_buttons button:first-child{
margin-right: 10px;
}
.w3c_buttons button:last-child{
margin-left: 10px;
}
.w3c_wrapper .w3c_social-share{
display: flex;
width: 100%;
margin-top: 30px;
padding: 0 5px;
justify-content: space-between;
}
.w3c_social-share .w3c_row{
color: #31344b;
font-size: 17px;
cursor: pointer;
position: relative;
}
.w3c_social-share .w3c_row::before{
position: absolute;
content: "";
height: 100%;
width: 2px;
background: #e0e6eb;
margin-left: -25px;
}
.w3c_row:first-child::before{
background: none; }
.w3c_social-share .w3c_row i.icon-2{
position: absolute;
left: 0;
top: 50%;
color: #31344b;
transform: translateY(-50%);
opacity: 0;
pointer-events: none;
transition: all 0.3s ease;
}
.w3c_row:nth-child(1):hover i.fa-heart,
.w3c_row:nth-child(2):hover i.fa-comment{
opacity: 1;
pointer-events: auto;
}