-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
89 lines (77 loc) · 1.52 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
82
83
84
85
86
87
88
89
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: sans-serif;
}
::-webkit-scrollbar {
height: 5px;
border: 1px solid #d5d5d5;
}
::-webkit-scrollbar-track {
background: #1e1e24;
}
::-webkit-scrollbar-thumb {
background: crimson;
}
.container {
display: flex;
scroll-snap-type: x mandatory;
overflow-x: scroll;
width: 100vw;
height: 100vh;
}
div {
min-width: 100vw;
display: flex;
justify-content: center;
align-items: center;
scroll-snap-align: start;
}
h1 {
color: white;
font-size: 3rem;
}
.first {
background: #12232E;
position: relative;
}
.first h2 {
position: absolute;
color: rgb(187, 187, 187);
font-size: 1.3rem;
top: 2rem;
}
@-webkit-keyframes arrow-animation {
0% {
-webkit-transform: translateX(-20px);
}
100% {
-webkit-transform: translateX(0px);
}
}
.fa-arrow-right {
position: absolute;
right: 5rem;
bottom: 5rem;
color: white;
font-size: 3rem;
-webkit-animation: arrow-animation 0.7s linear 0s infinite alternate;
animation: arrow-animation 0.7s linear 0s infinite alternate;
}
.second {
background: #194f92;
}
.third {
background: #8458B3;
position: relative;
}
.fa-arrow-left {
position: absolute;
right: 5rem;
bottom: 5rem;
color: white;
font-size: 3rem;
-webkit-animation: arrow-animation 0.7s linear 0s infinite alternate;
animation: arrow-animation 0.7s linear 0s infinite alternate;
}