-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
94 lines (82 loc) · 1.53 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
91
92
93
94
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #0d1117;
}
.ball {
height: 400px;
width: 400px;
background-image: url("img/ball-8.png");
background-size: cover;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
}
.ball__message {
width: 150px;
height: 150px;
display: flex;
justify-content: center;
align-items: center;
}
/*///// respond ball 8 class*/
.respond {
height: 400px;
width: 400px;
background-image: url("img/bola-8-respond.png");
background-size: cover;
}
#respondMessage {
color: #fff;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-size: 20px;
}
.message__ball {
animation-name: menssage;
animation-duration: 1.5s;
}
.hide {
display:none
}
.ball__Animation {
height: 400px;
width: 400px;
background-size: cover;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
animation-name: move;
animation-duration: .2s;
animation-iteration-count: infinite;
position: relative;
}
.ball__nomove {
height: 400px;
width: 400px;
background-size: cover;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
}
@keyframes move {
0% { left: 0; top: 0;}
50% {left: -3px; top: -3px;}
100% {left: 0; top: 0;}
}
@keyframes menssage {
0% {opacity: 0.0;}
25% { opacity: 0.25;}
50% { opacity: 0.50;}
75% { opacity: 0.75;}
100% {opacity: 1;}
}