221213
parent
85b7ba5e2d
commit
48e80ca428
|
|
@ -112,7 +112,15 @@ const proList = [
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
&:before{
|
&:before{
|
||||||
background-color: #1d78ff;
|
background-color: #1d78ff;
|
||||||
}
|
left: 50%;
|
||||||
|
right: 50%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&.active a:before,
|
||||||
|
&:hover a:before{
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.active a{
|
&.active a{
|
||||||
|
|
@ -211,12 +219,12 @@ const proList = [
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
-webkit-transition-property: left, right;
|
transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
||||||
transition-property: left, right;
|
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
height: 2px;
|
height: 2px;
|
||||||
width: 100%;
|
left: 50%;
|
||||||
|
right: 50%;
|
||||||
border-radius: 2px 2px 0 0;
|
border-radius: 2px 2px 0 0;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
|
|
@ -227,6 +235,7 @@ const proList = [
|
||||||
&:before{
|
&:before{
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
right: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -235,6 +244,7 @@ const proList = [
|
||||||
&:before{
|
&:before{
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
right: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue