mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 05:59:45 +00:00
Ссылки футера, добавление эффекта на ссылки в заголовках
This commit is contained in:
1 parent
a358f4d329
commit
928c062091
3 files changed
+29
-17
No files matched your search
@@ -80,4 +80,32 @@ $btn-dark: #585858;
|
||||
|
||||
color: white;
|
||||
background-color: $btn-dark;
|
||||
}
|
||||
|
||||
.block .heading a,
|
||||
.navbar .nav-link {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.block .heading a::after,
|
||||
.navbar .nav-link::after {
|
||||
position: absolute;
|
||||
content: '';
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
bottom: 0;
|
||||
display: block;
|
||||
width: 0;
|
||||
height: 1px;
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.block .heading a::after {
|
||||
background: black;
|
||||
}
|
||||
|
||||
.block .heading a:hover:after,
|
||||
.navbar .nav-link:hover:after,
|
||||
.navbar .nav-link.active:after {
|
||||
width: 100%;
|
||||
}
|
||||
Reference in new issue
Block a user