-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnavbar.css
97 lines (85 loc) · 1.84 KB
/
navbar.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
93
94
95
96
97
@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
header{
box-sizing: border-box;
}
header{
font-family: "Poppins", sans-serif;
position: fixed;
top: 0;
left: 0;
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
transition: 0.6s;
padding: 40px 10px;
z-index: 1000000;
}
header.scroll {
font-family: "Poppins", sans-serif;
padding: 5px 20px;
background: #ffffff;
}
header.scroll .logo,
header.scroll ul li a {
color: #000;
}
header .logo{
position: relative;
font-weight: 700;
color: #333;
text-decoration: none;
font-size: 2em;
text-transform: uppercase;
letter-spacing: 2px;
transition: 0.6s;
}
header ul{
font-family: "Poppins", sans-serif;
position: relative ;
display: flex;
justify-content: center ;
align-items: center;
}
header ul li {
font-family: "Poppins", sans-serif;
position: relative;
list-style: none;
}
header ul li a {
font-family: "Poppins", sans-serif;
position: relative;
margin: 0 30px;
text-decoration:none ;
color: #000;
letter-spacing: 2px;
font-weight: 1000px;
transition: 0.6s;
font-size: large;
}
.navbar a::before{
font-family: "Poppins", sans-serif;
content: '';
position: absolute;
top: 100%;
left: 0;
width: 0;
height: 2px;
background-color: #000;
transition: .3s;
}
.navbar a:hover::before{
width: 100%;
}
.cursor header{
position: fixed;
width: 20px;
height: 20px;
border-radius: 50%;
background: #fff;
transition: 0.1s;
transform: translate(-50%,-50%);
pointer-events: none;
mix-blend-mode: difference;
z-index: 99999999;
}