-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
54 lines (45 loc) · 802 Bytes
/
style.css
File metadata and controls
54 lines (45 loc) · 802 Bytes
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
* {
font-family: poppins, 'Courier New', Courier, monospace;
scroll-behavior: smooth;
}
header {
position: fixed;
top: 0;
left: 0;
width: 100%;
}
nav {
display: grid;
grid-template-columns: repeat(4, 1fr);
}
.nav-link {
display: grid;
background-color: blue;
color: white;
transition-duration: 0.3s;
place-content: center;
height: 3em;
text-decoration: none;
font-weight: 600;
text-transform: uppercase;
}
.nav-link:hover {
background-color: white;
color: blue;
transition-duration: 0.2s;
}
section {
height: 100vh;
}
#first-section {
background-color: red;
}
#second-section {
background-color: yellow;
}
#third-section {
background-color: green;
}
#fourth-section {
background-color: blue;
}