forked from WangJia-mm/JavaScript201708
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path1-changeColor.html
More file actions
36 lines (33 loc) · 800 Bytes
/
1-changeColor.html
File metadata and controls
36 lines (33 loc) · 800 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
35
36
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>珠峰培训</title>
<style>
* {
margin: 0;
padding: 0;
}
html, body {
width: 100%;
height: 100%;
overflow: hidden;
}
input {
display: inline-block;
width: 100px;
height: 35px;
margin: 10px;
}
</style>
</head>
<body>
<!--input[type='button'][value='btn$']*5-->
<input type="button" value="赤" name="color">
<input type="button" value="橙" name="color">
<input type="button" value="黄" name="color">
<input type="button" value="绿" name="color">
<input type="button" value="蓝" name="color">
<script src="js/1-changeColor.js"></script>
</body>
</html>