console
<div id="container">
<div>
<p>Read More</p>
</div>
<div>
<p>Read More</p>
</div>
<div>
<p>Read More</p>
</div>
</div>
* {
box-sizing: border-box;
}
body {
display: flex;
height: 100vh;
justify-content: center;
align-items: center;
background: rgb(46, 8, 82);
overflow: hidden;
}
#container {
width: 150px;
border-radius: 25px;
}
#container div {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
position: relative;
height: 50px;
width: 150px;
border-radius: 25px;
margin-top: 20px;
background: rgba(78, 31, 122, 0.685);
color: #FFFFFF;
border: 2px solid rgb(102, 45, 156);
}
#container div:first-child {
margin-top: 0px;
}
#container div p {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
border-radius: 25px;
font-size: 16px;
transition: 0.4s;
overflow: hidden;
backdrop-filter: blur(15px);
}
#container div:hover p {
font-size: 18px;
}
#container div:hover p {
font-size: 18px;
}
#container div p::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 50%;
height: 100%;
background: linear-gradient(to left, rgba(255, 255, 255, 0.15), transparent);
transform: skew(45deg) translateX(0);
transition: 0.4s;
}
#container div:hover p::before {
transform: skew(45deg) translateX(200%);
}
#container div::before {
content: '';
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: -5px;
height: 10px;
width: 25px;
border-radius: 5px;
background: rgb(224, 48, 48);
transition: 0.4s;
}
#container div:hover::before {
bottom: 0;
height: 60%;
width: 80%;
border-radius: 15px;
}