-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhome.html.erb
More file actions
81 lines (69 loc) · 1.48 KB
/
home.html.erb
File metadata and controls
81 lines (69 loc) · 1.48 KB
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
<head>
<style type="text/css">
html
{
font-family: Trebuchet MS, sans-serif;
}
@keyframes police
{
from { transform: skewX(-40deg); -ms-transform: skewX(-40deg); background-color:#ff0000; color:#0000ff; text-align: left; }
to { transform: skewX(40deg); -ms-transform: skewX(40deg); background-color:#0000ff; color:#ff0000; text-align: right; }
}
@-webkit-keyframes police
{
from { -webkit-transform: skewX(-40deg); background-color:#ff0000; color:#0000ff; text-align: left; }
to { -webkit-transform: skewX(40deg); background-color:#0000ff; color:#ff0000; text-align: right; }
}
@keyframes bgflashy
{
from { background-color:#00ff00; }
to { background-color:#ff00ff; }
}
@-webkit-keyframes bgflashy
{
from { background-color:#00ff00; }
to { background-color:#ff00ff; }
}
@keyframes wobble
{
from {
margin-left: 0%;
}
to {
margin-left: 50%;
}
}
@-webkit-keyframes wobble
{
from {
margin-left: 0%;
}
to {
margin-left: 50%;
}
}
body
{
animation: bgflashy 0.2s infinite alternate linear;
-webkit-animation: bgflashy 0.2s infinite alternate linear;
}
#police
{
animation: police 0.1s infinite alternate linear;
-webkit-animation: police 0.1s infinite alternate linear;
font-size: 288px;
font-weight: bold;
width: 1000px;
}
#container
{
animation: wobble 0.3s infinite alternate linear;
-webkit-animation: wobble 0.3s infinite alternate linear;
}
</style>
</head>
<body>
<div id="container">
<div id="police">WOOP WOOP WOOP</div>
</div>
</body>