fixed a hover css, now correctly moves underline up
This commit is contained in:
@@ -66,25 +66,20 @@ a {
|
|||||||
transition: 100ms linear;
|
transition: 100ms linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover {
|
|
||||||
color: rgba(72,61,139, 0.3);
|
|
||||||
}
|
|
||||||
|
|
||||||
a::after {
|
a::after {
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
top: 83%;
|
top: 83%;
|
||||||
left: -0.1em;
|
left: 0;
|
||||||
right: -0.1em;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
transition: 200ms cubic-bezier(0, 0.8, 0.13, 1);
|
transition: 102ms cubic-bezier(0, 0.86, 0.1, 1);
|
||||||
background-color: rgba(72,61,139, 0.3);
|
background-color: rgba(72,61,139, 0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
a::after:hover {
|
a:hover:after {
|
||||||
background-color: rgba(129, 66, 180, 0.3);
|
top: 8%;
|
||||||
top: 0%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.header {
|
.header {
|
||||||
|
|||||||
Reference in New Issue
Block a user