internet_ml/web/frontend/assets/css/url.module.scss

24 lines
413 B
SCSS
Raw Normal View History

2022-12-30 04:08:09 +00:00
.url {
2023-01-01 16:37:03 +00:00
display: inline-block;
position: relative;
color: #000;
2022-12-30 04:08:09 +00:00
}
.url::after {
2023-01-01 16:37:03 +00:00
content: '';
position: absolute;
width: 100%;
transform: scaleX(0);
height: 2px;
bottom: 0;
left: 0;
background-color: #000;
transform-origin: bottom right;
transition: transform 0.25s ease-out;
2022-12-30 04:08:09 +00:00
}
.url:hover::after {
2023-01-01 16:37:03 +00:00
transform: scaleX(1);
transform-origin: bottom left;
2022-12-30 04:08:09 +00:00
}