-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
110 lines (74 loc) · 1.47 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
body {
background-color: purple;
text-align: center;
color: white;
transition: background-color 1.5s;
}
h1 {
margin: 1.1em;
transition: all 0.8s;
font-size: 4em;
}
img {
height: 150px;
display: block;
}
button {
padding: 1.1em 2.2em;
font-size: large;
border-radius: 10px;
border: none;
transition: all 0.5s;
margin: 7.1em;
}
button:hover {
cursor: pointer;
position: relative;
bottom: 5px;
background-color: black;
color: white;
}
.container {
height: 550px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
position: relative;
}
#hand {
margin-top: -30px;
}
.container #disc {
height: 200px;
position: absolute;
/* Use absolute positioning */
top: 35%;
/* Position from the top */
left: 40%;
/* Position from the left */
margin-left: -200px;
transform: rotate(30deg);
margin-top: -40px;
}
.animate {
animation: mymove 2s infinite alternate;
}
.pics {
margin: -1.1em 1.5em 5em 0;
}
@keyframes mymove {
0% {
transform: rotate(30deg);
}
/* 50% {
transform: rotate(0deg);
margin-top: -20px;
margin-left: -200px;
} */
100% {
transform: rotate(-30deg);
margin-top: 90px;
margin-left: -100px;
}
}