Skip to content

Commit

Permalink
feat: add hover for register link
Browse files Browse the repository at this point in the history
  • Loading branch information
Kleostro committed Apr 30, 2024
1 parent fda9822 commit e3aded6
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions src/pages/LoginPage/view/loginPageView.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,36 @@
}

.registerLink {
position: relative;
color: var(--noble-gray-800);
transition: color 0.2s;

&::after {
content: '';
position: absolute;
left: 0;
bottom: -4px;
width: 100%;
height: 2px;
background-color: currentcolor;
opacity: 0;
transform: scaleX(0);
transform-origin: center;
transition:
transform 0.2s,
opacity 0.2s;
}

@media (hover: hover) {
&:hover {
color: var(--steam-green-800);

&::after {
opacity: 1;
transform: scaleX(1);
}
}
}
}

.authDescription {
Expand Down

0 comments on commit e3aded6

Please sign in to comment.