-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStyle.css
75 lines (63 loc) · 1.32 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
#container {
margin: auto;
display: flex;
flex-direction: column;
width: fit-content;
align-items: center;
border: 2px solid grey;
animation-name: BG;
animation-duration: 4s;
animation-iteration-count: infinite;
animation-play-state: running;
}
.box {
background-color: white;
margin: 10px;
padding: 20px;
border-style: groove;
animation-name: BG;
animation-duration: 4s;
animation-iteration-count: infinite;
}
@keyframes BG {
0% {
background-color: tomato;
}
25% {
background-color: rgb(235, 210, 19);
}
50% {
background-color: rgb(47, 255, 217);
}
75% {
background-color: rgb(217, 76, 78);
}
100% {
background-color: tomato;
}
}
.toogle-animation {
align-items: center;
text-align: center;
margin-top: 20px;
}
.button {
font-size: large;
padding: 20px;
background-color: rgba(255, 165, 0, 0);
border-radius: 20px;
transition-property: background-color;
transition-duration: 0.2s;
box-shadow: 0 9px #999;
cursor: pointer;
outline: none;
transition: 0.1s all;
}
.button:hover {
background-color: rgba(255, 165, 0, 255);
}
.button:active {
background-color: #3e8e41;
box-shadow: 0 5px #666;
transform: translateY(4px);
}