blob: 86903e14fbc111c66763af9939c42b6ed8310bce (
plain)
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
|
<rml>
<head>
<title>Example</title>
<style>
body
{
position: absolute;
width: 100%;
height: 100%;
font-family: DigitalDisco;
}
@keyframes animate {
0% {
transform: rotateX(0deg);
background-color: orange;
}
10% {
transform: rotateX(0deg);
background-color: orange;
}
50% {
transform: rotateX(-30deg);
background-color: blue;
}
90% {
transform: rotateX(0deg);
background-color: orange;
}
100% {
transform: rotateX(0deg);
background-color: orange;
}
}
div
{
font-family: DigitalDisco;
display: block;
background-color: #f00;
font-size: 16px;
border: 1px;
border-radius: 30px;
border-color: red;
}
p
{
font-family: DigitalDisco;
color: #fff;
font-size: 16px;
}
button {
font-size: 16px;
font-family: DigitalDisco;
color: black;
background-color: orange;
}
button:hover {background-color: #3e8e41}
button:active {background-color: #41ff41}
</style>
<!-- animation: 2s linear infinite animate; -->
</head>
<body>
<div>
<button>
Play
</button>
<button id="reset">
Reset
</button>
</div>
</body>
</rml>
|