<div class="multi-button">
<div class="buttonContainer">
<button class="hoverButton">
<i class="fas fa-cut"></i>
</button>
<div class="HoverState">Cut</div>
</div>
<div class="buttonContainer">
<button class="hoverButton">
<i class="fas fa-copy"></i>
</button>
<div class="HoverState">Copy</div>
</div>
<div class="buttonContainer">
<button class="hoverButton">
<i class="fas fa-paste"></i>
</button>
<div class="HoverState">Paste</div>
</div>
</div>
body {
height: 100vh;
margin: 0;
display: grid;
place-items: center;
max-width: 400px;
margin: 0 auto;
}
button {
border: none;
font-size: 2rem;
transition: all .3s ease-in-out;
color: #b19cd9;
background: transparent;
cursor: pointer;
padding: 10px;
}
button:hover {
color: white;
background: #b19cd9;
border-radius: 100px;
}
.multi-button {
border-radius: 50px;
box-shadow: 0 0 15px 2px #b19cd9;
padding: 15px;
display: grid;
grid-gap: 0.5rem;
}
.HoverState {
color: #b19cd9;
font-family: Open Sans, sans-serif;
position: absolute;
left: 90px;
top: 25px;
font-weight: bold;
}
.buttonContainer {
position: relative;
}