-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathshapes.css
130 lines (116 loc) · 2.34 KB
/
shapes.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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
/* css for animated shapes */
.shapes {
/* position: absolute; */
top: 0;
left: 0;
width: 100%;
height: 100%;
/* overflow: hidden; */
z-index: 0;
}
.shape {
position: absolute;
opacity: 0.5;
}
.shape1 {
width: 80px;
height: 80px;
border-radius: 50%;
background: linear-gradient(45deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%);
top: 25%;
left: 10%;
}
.shape2 {
width: 120px;
height: 120px;
background: linear-gradient(120deg, #84fab0 0%, var(--blue) 100%);
border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
top: 20%;
right: 15%;
}
.shape3 {
width: 60px;
height: 60px;
background: linear-gradient(to top, #a18cd1 0%, #fbc2eb 100%);
border-radius: 50%;
bottom: 20%;
left: 42%;
}
.shape4 {
width: 100px;
height: 100px;
background: linear-gradient(
to right,
#ff8177 0%,
#ff867a 0%,
#ff8c7f 21%,
#f99185 52%,
#cf556c 78%,
#b12a5b 100%
);
border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
top: 50%;
right: 30%;
}
.shape5 {
width: 90px;
height: 90px;
background: linear-gradient(to top, #48c6ef 0%, #6f86d6 100%);
border-radius: 30% 70% 46% 54% / 30% 30% 70% 70%;
bottom: 10%;
right: 10%;
}
.shape6 {
width: 70px;
height: 70px;
background: linear-gradient(135deg, #fccb90 0%, #d57eeb 100%);
border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
top: 40%;
left: 25%;
}
.shape7 {
width: 110px;
height: 110px;
background: linear-gradient(
to right,
#f78ca0 0%,
#f9748f 19%,
#fd868c 60%,
#fe9a8b 100%
);
border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
top: 60%;
left: 5%;
}
.shape8 {
width: 85px;
height: 85px;
background: linear-gradient(to top, #0fd850 0%, #f9f047 100%);
border-radius: 50%;
bottom: 5%;
right: 25%
}
@keyframes float {
0% {
transform: translatey(0px);
}
50% {
transform: translatey(-20px);
}
100% {
transform: translatey(0px);
}
}
@media (max-width: 768px) {
.hero {
flex-direction: column;
text-align: center;
}
.hero-content {
padding-right: 0;
margin-bottom: 2rem;
}
.nav-links {
display: none;
}
}