forked from yanlele/node-index
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
33 lines (29 loc) · 780 Bytes
/
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>select</title>
<style>
select {
border: solid 1px rgba(0, 0, 0, 0.18);
appearance: none;
-moz-appearance: none;
-webkit-appearance: none;
width: 200px;
padding: 5px 8px;
border-radius: 5px;
background: url("http://ourjs.github.io/static/2015/arrow.png") no-repeat scroll right center transparent;
}
select::-ms-expand {
display: none;
}
</style>
</head>
<body>
<select form="one">
<option value="one" id="one">选项1</option>
<option value="two" id="two">选项2</option>
<option value="three" id="three">选项3</option>
</select>
</body>
</html>