-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.scss
78 lines (67 loc) · 1.63 KB
/
style.scss
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
/** @format */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: #edeeed;
}
.drops {
position: relative;
display: flex;
justify-content: center;
align-items: center;
}
.drop {
position: absolute;
width: 150px;
height: 150px;
background: transparent;
border-radius: 57% 43% 37% 63% / 45% 52% 48% 55%;
box-shadow: inset 10px 10px 10px rgba(0, 0, 0, 0.05), 15px 25px 10px rgba(0, 0, 0, 0.1), 15px 20px 20px rgba(0, 0, 0, 0.5), inset -10px -10px 15px rgba(255, 255, 255, 0.9);
&::before {
content: "";
position: absolute;
top: 25px;
left: 35px;
background: #fff;
width: 20px;
height: 20px;
border-radius: 42% 58% 37% 63% / 40% 43% 57% 60%;
}
&::after {
content: "";
position: absolute;
top: 25px;
left: 65px;
background: #fff;
width: 10px;
height: 10px;
border-radius: 57% 43% 37% 63% / 48% 37% 63% 52%;
}
&:nth-child(2) {
transform: scale(0.5) translate(-200px, 180px);
border-radius: 64% 36% 42% 58% / 42% 37% 63% 58%;
}
&:nth-child(3) {
transform: scale(0.5) translate(280px, 10px);
border-radius: 49% 51% 42% 58% / 56% 47% 53% 44%;
}
&:nth-child(4) {
transform: scale(0.5) translate(120px, -350px);
border-radius: 39% 61% 63% 37% / 77% 47% 53% 23%;
}
&:nth-child(5) {
transform: scale(0.5) translate(150px, 400px);
border-radius: 49% 31% 40% 30% / 77% 47% 53% 23%;
}
&:nth-child(6) {
transform: scale(0.5) translate(-420px, -220px);
border-radius: 49% 51% 42% 58% / 56% 47% 53% 44%;
}
}