-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgallery.css
74 lines (65 loc) · 1.38 KB
/
gallery.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
.balloon-select {
color: #313149;
padding: 0px;
display: inline-block;
margin: 0;
position: relative;
z-index: 0;
width: 150px;
height: 150px;
border-radius: 50%;
}
.balloon-select:before {
content: '';
position: absolute;
z-index: -1;
inset: 0;
padding: 20px;
border-radius: 50%;
background: radial-gradient(
circle,
rgb(109 220 155) 30%,
rgb(11 185 225) 80%,
rgba(9, 204, 249, 1) 100%
);
-webkit-mask: radial-gradient(#fff 0 0) content-box, radial-gradient(#fff 0 0);
mask: radial-gradient(#fff 0 0) content-box, radial-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
}
.balloon-unselect {
background: radial-gradient(
circle,
rgba(109, 220, 155, 0.8) 30%,
rgba(11, 185, 225, 0.8) 80%,
rgba(9, 204, 249, 0.8) 100%
);
height: auto;
width: 100;
height: 100;
border-radius: 50%;
}
.balloon:hover {
animation: bouncing 2s linear 0s infinite;
}
@keyframes bouncing {
0% {
transform: scale(1, 1);
}
50% {
transform: scale(1.3, 1.3);
}
100% {
transform: scale(1, 1);
}
}
.lines {
stroke-dasharray: 450;
stroke-dashoffset: 450;
animation: draw 2s linear forwards;
}
@keyframes draw {
to {
stroke-dashoffset: 0;
}
}