-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
85 lines (71 loc) · 1.23 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
* {
box-sizing: border-box
}
body {
margin:10;
background-color: azure;
transition: background-color .5s;
}
body.dark {
background-color: blue;
}
body.glow {
background-color: whitesmoke;
}
.box{
height: 200px;
width:200px;
background-color: lightsteelblue;
border:1px solid;
animation: spin 10s infinite linear;
animation-play-state: paused;
transition: background-color 1s, box-shadow 1s;
}
.box.dark {
background-color: gray;
}
.box.glow {
background-color: greenyellow;
box-shadow: 0 0 30px 15px deeppink;
}
.box.spin {
animation-play-state: running;
}
.flex {
display: flex;
justify-content: space-evenly;
margin-top:100px;
}
button {
padding: 10px;
border:1px solid;
cursor:pointer;
background-color: thistle;
border-radius:5px;
transition: background-color .2s;
}
button:hover {
background-color: pink;
}
button:active {
background-color: white;
}
.chair {
width: 200px;
position:fixed;
bottom: 10px;
right: 10px;
opacity:0;
transition: opacity 1s;
}
.draggable {
cursor:grab;
}
@keyframes spin {
0% {
transform: rotate(0);
}
100% {
transform: rotate(360deg);
}
}