feat(css): Added navigation bar animation
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
d280eb17cb
commit
6900263c52
@ -23,6 +23,7 @@
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
|
||||
&:active,
|
||||
&:focus,
|
||||
&:hover {
|
||||
border: 0;
|
||||
@ -34,6 +35,25 @@
|
||||
float: right;
|
||||
}
|
||||
|
||||
@media(min-width: 382px) {
|
||||
.nav-pills {
|
||||
li {
|
||||
display: inline-block;
|
||||
transform: perspective(1px) translateZ(0);
|
||||
transition-duration: .3s;
|
||||
transition-property: transform;
|
||||
transition-timing-function: ease-out;
|
||||
vertical-align: middle;
|
||||
|
||||
&:active,
|
||||
&:focus,
|
||||
&:hover {
|
||||
transform: translateY(8px);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 382px) {
|
||||
.nav-right,
|
||||
.nav-pills li {
|
||||
|
Loading…
x
Reference in New Issue
Block a user