-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
90 lines (74 loc) · 1.46 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
90
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;700&display=swap');
body {
background-color: #131316;
color: #ffffff;
font-family: 'Poppins', sans-serif;
padding: 0;
margin: 0;
}
section {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
min-height : 400px;
padding: 100px 20vw;
}
.blue{
background: #3c31dd;
}
.red {
background: #dd3f31;
}
.green {
background: #00ff00;
}
.yellow {
background: #ff0;
}
.pink{
background: #ffc0cb;
}
.curve {
position: absolute;
height: 225px;
width: 100%;
bottom: 0;
}
.curve::before {
content: '';
position: absolute;
display: block;
border-radius : 100% 50%;
width: 55%;
height: 100%;
background-color: #202731;
transform: translate(85%, 60%);
}
.curve::after {
content: '';
position: absolute;
display: block;
border-radius : 100% 50%;
width: 55%;
height: 100%;
background-color: #3c31dd;
transform: translate(-4%, 40%);
z-index: -1;
}
.spacer {
aspect-ratio: 900/600;
width: 100%;
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}
.layer1 {
background-image: url(./layered-waves-haikei.svg);
}
.layer2 {
background-image: url(./layer2.svg);
}
.flip {
transform: rotate(180deg);
}