-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
79 lines (66 loc) · 1.33 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>CSS3 Animation</title>
<style>
*
{
padding: 0;
margin: 0;
text-align: center;
}
body
{
font-family: sans-serif;
font-size: 100%;
color: #fff;
background-color: #444;
margin: 1em;
}
h1
{
font-size: 1.5em;
font-weight: normal;
margin: 0 0 0.5em 0;
}
p.about
{
font-size: 85%;
margin: 1em;
}
a { color: #ff8; }
#myelement
{
width: 10em;
font-size: 2em;
font-weight: bold;
padding: 1em;
margin: 50px auto;
border-radius: 5px;
/*-webkit-animation: colorchange 15s linear 1s infinite alternate;
animation: colorchange 15s linear 1s infinite alternate;*/
}
@-webkit-keyframes colorchange
{
0% { background-color: #00F; /* from: blue */ }
25% { background-color: #F00; /* red */ }
50% { background-color: #0F0; /* green */ }
75% { background-color: #F0F; /* purple */ }
100% { background-color: #00F; /* to: blue */ }
}
@keyframes colorchange
{
0% { background-color: #00F; /* from: blue */ }
25% { background-color: #F00; /* red */ }
50% { background-color: #0F0; /* green */ }
75% { background-color: #F0F; /* purple */ }
100% { background-color: #00F; /* to: blue */ }
}
</style>
</head>
<body id="myelement">
<h1>Welcome to My Home PAge</h1>
<div >I will be adding contents soon...</div>
</body>
</html>