-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtext.html
More file actions
73 lines (62 loc) · 1.31 KB
/
Copy pathtext.html
File metadata and controls
73 lines (62 loc) · 1.31 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style type="text/css">
* {
margin: 0;
padding: 0;
font: 14px/28px "微软雅黑";
}
.contact {
width: 700px;
height: auto;
background: #f6f6f6;
margin: 40px auto;
padding: 10px;
}
.contact *:focus {
outline: none;
}
ul {
width: 700px;
}
li {
list-style: none;
border-bottom: 1px solid #DFDFDF;
padding: 12px;
}
label {
width: 120px;
display: inline-block;
float: left;
}
input[type=text] {
width: 220px;
height: 20px;
border: 1px solid #AAAAAA;
border-radius: 5px;
padding: 3px 8px;
background: url(images/red_asterisk.png) no-repeat #FFF 98%;
transition: padding .25s;
}
input:focus {
border-color: #C00;
background-image: url(images/invalid.png);
padding-right: 70px;
}
</style>
</head>
<body>
<div class="contact">
<form action="#" method="post" name="cForm">
<ul>
<li><label for="">姓名:</label>
<input type="text" name="yourname" id="yourname" placeholder="Best" required="required" /><label for="yourname"></label>
</li>
</ul>
</form>
</div>
</body>
</html>