-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinput.html
61 lines (61 loc) · 1.31 KB
/
input.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style type="text/css">
.input-group{
display: table;
margin: 0 auto;
width: 600px;
}
.int,#usna,.int2,#usna2{
display: table-cell;
}
.int{
width:34px;
height: 34px;
line-height: 34px;
border: 1px solid #ced4da;
text-align: center;
background-color: #e9ecef;
border-radius: 5px 0px 0px 5px;
}
#usna{
height: 36px;
width:100%;
border: 1px solid #ced4da;
border-left: 0;
line-height: 34px;
border-radius: 0px 5px 5px 0px;
}
.int2{
width:150px;
height: 34px;
line-height: 34px;
border: 1px solid #ced4da;
text-align: center;
background-color: #e9ecef;
border-radius: 0px 5px 5px 0px;
}
#usna2{
height: 36px;
width:100%;
border: 1px solid #ced4da;
line-height: 34px;
border-radius: 5px 0px 0px 5px;
}
</style>
</head>
<body>
<div class="input-group">
<span class="int">@</span>
<input type="text" placeholder="Username" id="usna">
</div>
<br>
<div class="input-group">
<input type="text2" placeholder="Recipient's username" id="usna2">
<span class="int2">@example.com</span>
</div>
</body>
</html>