-
Notifications
You must be signed in to change notification settings - Fork 31
/
mynav.css
92 lines (80 loc) · 1.52 KB
/
mynav.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
nav {
background: rgb(0, 0, 0);
border-radius: 20;
border-top-left-radius: 20;
border-top-right-radius: 20;
border-bottom-right-radius: 20;
border-bottom-left-radius: 20;
border-style: none;
padding-top: 0;
padding-bottom: 10px;
height: 61px;
padding-right: 0px;
padding-left: 24px;
}
div.dropdown-menu {
background-color: rgb(34, 34, 34);
}
li {
padding: 10px;
animation-name: fade-down;
animation-duration: 3s;
}
@keyframes fade-down {
0%{
opacity: 0;
transform: translateY(-30px) scale(0.9);
}
100%{
opacity: 1;
transform: translateY(0px) scale(1);
}
}
a span {
color: white;
font-size: 2rem;
transition: all 1s;
}
a span:hover {
color: rgb(230, 112, 28);
font-size: 2.5rem;
text-shadow: 1px 1px 10px chocolate;
}
li a:hover {
color: white !important;
}
@keyframes pulse {
0% {
transform: scaleX(1);
}
50% {
transform: scale3d(1.05, 1.05, 1.05);
}
to {
transform: scaleX(1);
}
}
.collapse.navbar-collapse ul li::after{
content: '';
width: 0;
height: 4px;
display: block;
background-color: white;
color: white;
transition: all 1s;
}
.collapse.navbar-collapse ul li:hover::after{
width: 100%;
}
a.dropdown-item:hover {
animation-name: pulse;
animation-duration: 1s;
}
.navbar-toggler{
background-color:#ECF8F9;
}
.collapse{
background-color: rgb(0, 0, 0);
transition-duration: 0s;
transition-delay: 0s;
}