Ссылки футера, добавление эффекта на ссылки в заголовках

This commit is contained in:
ifraimka1 committed 2024-02-20 11:16:15 +03:00
1 parent a358f4d329
commit 928c062091
3 files changed
+29 -17

No files matched your search

-16
View File
@@ -29,8 +29,6 @@ $primary-text-color: white;
align-items: center;
.nav-link {
position: relative;
font-size: 16px;
font-weight: 500;
line-height: 20px;
@@ -43,21 +41,7 @@ $primary-text-color: white;
}
.nav-link::after {
position: absolute;
content: '';
left: 50%;
transform: translateX(-50%);
bottom: 0;
display: block;
width: 0;
height: 1px;
background: white;
transition: 0.3s;
}
.nav-link:hover:after,
.nav-link.active:after {
width: 100%;
}
}
}