update: look at todo
parent
1eed57de57
commit
639138da84
|
@ -1,23 +1,23 @@
|
||||||
.url {
|
.url {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
position: relative;
|
position: relative;
|
||||||
color: #000;
|
color: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.url::after {
|
.url::after {
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
transform: scaleX(0);
|
transform: scaleX(0);
|
||||||
height: 2px;
|
height: 2px;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
background-color: #000;
|
background-color: #000;
|
||||||
transform-origin: bottom right;
|
transform-origin: bottom right;
|
||||||
transition: transform 0.25s ease-out;
|
transition: transform 0.25s ease-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
.url:hover::after {
|
.url:hover::after {
|
||||||
transform: scaleX(1);
|
transform: scaleX(1);
|
||||||
transform-origin: bottom left;
|
transform-origin: bottom left;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue