We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 213e2fe commit 68b02cdCopy full SHA for 68b02cd
assets/_scss/_navigation.scss
@@ -227,17 +227,17 @@
227
&:before {
228
content: "";
229
position: absolute;
230
+ left: 0;
231
bottom: 0;
232
height: 4px;
233
background: mix(#fff, $primary-color, 50%);
- width: 0;
234
+ width: 100%;
235
transition: $global-transition;
236
+ transform: scaleX(0); // hide
237
}
238
- &:hover {
- &:before {
239
- width: 100%;
240
- }
+ &:hover:before {
+ transform: scaleX(1); // reveal
241
242
243
0 commit comments