Nureon
Posted on July 8, 2024
.animated-underline {
position: relative;
text-decoration: none;
}
.animated-underline::after {
content: "";
position: absolute;
left: 50%;
top: 100%;
width: 100%;
height: 0.125em;
background-color: hsl(200deg, 100%, 50%);
transition: transform 320ms ease;
transform: translate(-50%, 0%) scaleX(0);
transform-origin: right;
}
.animated-underline:hover::after {
transform-origin: left;
transform: translate(-50%, 0%) scaleX(1);
}
💖 💪 🙅 🚩
Nureon
Posted on July 8, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
webdev Create a Stunning 3D Bend & Reveal Hover Effect with Illusionistic Background Using HTML & CSS
November 27, 2024