-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
78 lines (64 loc) · 1.01 KB
/
style.css
File metadata and controls
78 lines (64 loc) · 1.01 KB
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
body {
background-color: #131316;
color: #fff;
font-family: 'Cormorant', 'Times New Roman', Times, serif;
padding: 0;
margin: 0;
}
section {
display: grid;
place-items: center;
align-content: center;
min-height: 100vh;
}
.hidden {
opacity: 0;
filter: blur(5px);
transform: translateX(-100px);
transition: all 1s;
}
@media(prefers-reduced-motion) {
.hidden {
transition: none;
}
}
.show {
opacity: 1;
filter: blur(0);
transform: translateX(0);
}
.stuffs {
display: flex;
}
.stuff {
color: #fff;
font-size: 1.5rem;
cursor: pointer;
text-decoration: none;
display: flex;
justify-content: center;
align-items: center;
margin: 0 10px;
padding: 10px 20px;
background-color: #333;
border-radius: 5px;
transition: all 0.5s;
}
h1 {
font-size: 3rem;
}
h2 {
font-size: 2rem;
}
.btn {
font-weight: bold;
}
.stuff:hover {
transform: translateY(-10px);
}
.stuff:nth-child(2){
transition-delay: 200ms;
}
.stuff:nth-child(3) {
transition-delay: 400ms;
}