<div class="container">
    <button type="" class="btn">
        <i class="fab fa-facebook-f">
        </i>
    </button>
    <button type="" class="btn"><i class="fab fa-instagram"></i>
    </button>
    <button type="" class="btn">
       <i class="fab fa-codepen"></i>
    </button>
    <button type="" class="btn"><i class="fab fa-github"></i>
    </button>
  </div>
   
body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #EBECF0;
}
.container{
    position: relative;
    width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.btn{
    position: relative;
    width: 60px;
    height: 60px;
    background: #EBECF0;
    color: ;
    border: none;
    outline: none;
    border-radius: 5px;
    box-shadow: -5px -5px 20px #fff, 
    5px 5px 20px #babecc;
    margin-left: 8px;
    transition: all 0.3s ease;
}

.btn:hover{
    box-shadow:inset -2px -2px 4px #fff,
   inset 2px 2px 4px #babecc;
   transition: all 0.3s ease;
}
.btn i{
    font-size: 1.6em;
    font-weight: 600;
}
.fa-facebook-f{
    color: #5967FF;
}
.fa-instagram{
    color: #FF44D2;
}
.fa-codepen{
    color: #F46234;
}
.fa-github{
    color: #6E7492;
}

External CSS

  1. https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css

External JavaScript

This Pen doesn't use any external JavaScript resources.