mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 03:39:45 +00:00
Ссылки футера, добавление эффекта на ссылки в заголовках
This commit is contained in:
1 parent
a358f4d329
commit
928c062091
3 files changed
+29
-17
No files matched your search
@@ -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%;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user