forked from lizuncong/mini-react
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate.html
More file actions
34 lines (33 loc) · 707 Bytes
/
template.html
File metadata and controls
34 lines (33 loc) · 707 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Mini React</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style>
.animation {
display: block;
width: 100px;
height: 100px;
background: lightyellow;
animation: myfirst 5s;
animation-iteration-count: infinite;
}
@keyframes myfirst {
from {
width: 30px;
height: 30px;
border-radius: 0;
}
to {
width: 200px;
height: 200px;
border-radius: 50%;
}
}
</style>
</head>
<body>
<div id="root"></div>
</body>
</html>