@import url('https://googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

ul{
    position: relative;
    display: flex;
    gap: 25px;
}

ul li{
    position: relative;
    list-style: none;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    cursor: pointer;
    display: flex;
    justify-content:center ;
    align-items: center;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0, 0 , 0, 0.1);
    transition: 0.5s;
}

ul li:hover{
    width:180px;
}

ul li::before{
    content: '';
    position: absolute;
    inset: 0;
    border-radius:60px ;
    background: linear-gradient(45deg, var(--i), var(--j));
    opacity: 0;
    transition: 0.5s;
}

ul li:hover::before{
    opacity: 1;
}

ul li::after{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 60px;
    background: linear-gradient(45deg, var(--i), var(--j));
    transition: 0.5s;
}