Create buttons with html and css
Html code 👇🏻
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Neumorphism</title>
<link rel="stylesheet" href="style.css">
<script src="https://kit.fontawesome.com/f6816dd194.js" crossorigin="anonymous"></script>
</head>
<body>
<div class="main">
<div class="buttons">
<input type="checkbox" name="">
<input type="checkbox" name="">
<input type="checkbox" name="">
<input type="checkbox" name="">
<input type="checkbox" name="">
<input type="checkbox" name="">
</div>
</div>
<a href="https://youtube.com/channel/UCzXpAx4v6rFLYXkJZ5nmSvQclass=" yt-link" target="_blank">g</a>
</body>
</html>
Css code 👇🏻
*{
margin: 0;
padding: 0;
}
body{
background: #4f4f4f;
}
.main{
width: 100%;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.buttons{
width: 400px;
}
input{
margin: 20px;
width: 75px;
height: 75px;
-webkit-appearance: none;
-webkit-tap-highlight-color:transparent;
box-shadow: 6px 6px 12px #434343,-6px -6px 12px #5b5b5b;
outline: none;
cursor: pointer;
border-radius: 50%;
position: relative;
}
input:checked{
box-shadow: inset 6px 6px 12px #434343,inset -6px -6px 12px #5b5b5b;
}
input::before{
content: '\f1eb';
font-family: "Font Awesome 5 Free";
font-weight: 900;
font-size: 1.8rem;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
color: #757575;
}
input:checked::before{
color: #fafa37;
}
input:nth-child(2)::before{
content: '\f028';
}
input:nth-child(3)::before{
content: '\f186';
}
input:nth-child(4)::before{
content: '\f042';
}
input:nth-child(5)::before{
content: '\f011';
}
input:nth-child(6)::before{
content: '\f027';
}
.yt-link{
background-color: rgba(255, 255, 255, 0.1);
-webkit-backdrop-filter: blur(4px);
backdrop-filter: blur(4px);
text-decoration: none;
display: block;
width: 100%;
text-align: center;
color: #ffffff;
font-family: 'Poppins',sans-serif;
letter-spacing: 0.5px;
font-size: 18px;
font-weight: 600;
padding: 10px 0;
border-radius: 5px;
position: absolute;
bottom: 0;
-webkit-box-shadow: 20px 20px 25px rgba(0,0,0, 0.2);
box-shadow: 20px 20px 25px rgba(0,0,0, 0.2);
}