-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
42 lines (38 loc) · 685 Bytes
/
main.css
File metadata and controls
42 lines (38 loc) · 685 Bytes
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
.interface{
font-family:cursive;
font-size: 50px;
text-align: center;
margin-top: 100px;
}
.win{
text-align: center;
animation-name: my-animation;
animation-duration: 2s;
animation-direction: alternate;
animation-iteration-count: infinite;
animation-timing-function: linear;
/* other properties */
font-size: 40px;
width: 500px;
height: 90px;
border-radius: 10px;
position: absolute;
left: 0;
right: 0;
margin-left: auto;
margin-right: auto;
}
@keyframes my-animation {
from {
background-color: #ffffff;
width: 500px;
height: 190px;
top: 10px;
}
to {
background-color: #5eff00;
width: 450px;
height: 180px;
top: 100px;
}
}