-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
64 lines (56 loc) · 1.13 KB
/
styles.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
body {
background-color: rgb(255, 255, 255);
max-width: 1920px;
margin: 0 auto;
overflow-x: hidden;
}
.img-content {
display: flex;
justify-content: center;
align-items: flex-end;
height: 120vh;
position: relative;
}
.img-content img {
max-width: 100%;
height: auto;
}
.img-content img:first-child {
position: absolute;
bottom: 220px;
animation: bounce 0.6s infinite alternate;
}
@keyframes bounce {
0% {
transform: translateY(0);
}
100% {
transform: translateY(-600px);
}
}
.img-crop {
overflow: hidden;
height: 200px;
}
.img-crop img {
display: block;
width: 100%;
}
body::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(45deg, #770505, #d61818, #000000, #975211, #5c1111);
background-size: 400% 400%;
animation: gradientAnimation 15s ease infinite;
z-index: -1;
filter: blur(20px);
}
@keyframes gradientAnimation {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}