forked from developedbyed/website-animation-trick
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
81 lines (75 loc) · 1.22 KB
/
style.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
main {
font-family: "Heebo", sans-serif;
}
.landing {
min-height: 100vh;
background: url("./hero.jpg");
background-size: cover;
padding: 0rem 5rem;
}
nav {
display: flex;
align-items: center;
justify-content: space-between;
min-height: 10vh;
}
.nav-links {
display: flex;
list-style: none;
}
.nav-links li {
padding-left: 10rem;
font-size: 1.2rem;
}
#logo {
font-family: "Lobster", cursive;
font-weight: lighter;
font-size: 2rem;
}
.big-text {
position: absolute;
top: 30%;
left: 50%;
transform: translate(-50%, -30%);
font-size: 5rem;
font-family: "Lobster", cursive;
color: rgb(61, 61, 61);
}
.intro {
background: black;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.slider {
background: rgb(97, 105, 109);
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
transform: translateY(100%);
}
.intro-text {
color: rgb(233, 233, 233);
font-family: "Heebo", sans-serif;
font-size: 3rem;
}
.hide {
background: black;
overflow: hidden;
}
.hide span {
transform: translateY(100%);
display: inline-block;
}