-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
115 lines (103 loc) · 2.09 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
111
112
113
114
115
body {
box-sizing: border-box;
background-color: aliceblue;
}
.container {
background-color: #051730;
padding: 10px;
height: 250px;
width: 55%;
transform: rotate(180deg);
margin: auto;
display: flex;
}
.blue {
background-color: #7854bc;
width: 150px;
height: 150px;
position: relative;
animation-name: dance;
animation-duration: 2s;
animation-iteration-count: infinite;
animation-timing-function: cubic-bezier(0.35, 0.17, 0.43, 0.6);
animation-direction: alternate;
}
.purple {
background-color: #d152a8;
width: 150px;
height: 150px;
position: relative;
animation-name: dance;
animation-duration: 4s;
animation-iteration-count: infinite;
animation-timing-function: cubic-bezier(0.58, 0.31, 0.34, 0.9);
animation-direction: alternate;
}
.red {
background-color: #fd6485;
width: 150px;
height: 150px;
position: relative;
animation-name: dance;
animation-duration: 3s;
animation-iteration-count: infinite;
animation-timing-function: cubic-bezier(0.1, 0.31, 0.34, 1);
animation-direction: alternate;
}
.orange {
background-color: #ff8a66;
width: 150px;
height: 150px;
position: relative;
animation-name: dance;
animation-duration: 2s;
animation-iteration-count: infinite;
animation-timing-function: linear;
animation-direction: alternate;
}
.yellow {
background-color: #ffbe55;
width: 150px;
height: 150px;
position: relative;
animation-name: dance;
animation-duration: 2s;
animation-iteration-count: infinite;
animation-timing-function: cubic-bezier(0.9, 0.1, 0.5, 1);
animation-direction: alternate;
}
@keyframes dance {
from {
height: 100%;
}
to {
height: 0%;
}
}
.box {
animation-play-state: paused;
}
.myButton {
margin-left: 37.5%;
margin-top: 25px;
}
button {
width: 5rem;
padding: 3px 8px;
}
.button-1 {
display: inline-block;
margin-left: 40px;
border: 1px solid green;
background-color: darkgreen;
color: white;
cursor: pointer;
}
.button-2 {
display: inline-block;
margin: 5px 125px;
border: 1px solid red;
background-color: red;
color: white;
cursor: pointer;
}