-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy path11.html
39 lines (33 loc) · 824 Bytes
/
11.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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style>
ul,li{
list-style: none;
padding:0;margin:0;
}
</style>
<script>
window.onload=function(){
var ul=document.getElementsByTagName("ul")[0];
for(var i=0;i<5;i++){
var li=document.createElement("li");
var div=document.createElement("div");
li.style.cssText="width:100%;height:100px;background:red;";
li.style.perspective="800px;"
li.appendChild(div);
ul.appendChild(li);
for(var j=0;j<1;j++){
document.create
}
}
}
</script>
</head>
<body>
<ul>
</ul>
</body>
</html>