-
Notifications
You must be signed in to change notification settings - Fork 0
/
SAMPLE13.HTML
65 lines (60 loc) · 1.62 KB
/
SAMPLE13.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
62
63
64
65
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Vo WiFi Search Bar</title>
<style>
html, body {
font-family: Raleway, sans-serif;
width: 100%;
height: 100%;
padding: 0;
margin: 0;
}
body {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: nowrap;
overflow: hidden;
}
form.search-box {
font-size: 20px;
border: solid 0.3em;
display: inline-block;
position: relative;
border-radius: 2.5em;
}
form.search-box input[type="text"] {
font-family: inherit;
font-weight: bold;
width: 22em;
height: 2.5em;
padding: 0.3em 2.1em 0.4em;
border: none;
box-sizing: border-box;
border-radius: 2.5em;
}
form.search-box button {
border: none;
background-color: transparent;
cursor: pointer;
position: absolute;
top: 0;
right: 0;
bottom: 0;
width: 2.5em;
color: #777;
padding: 0;
}
</style>
</head>
<body>
<form class="search-box">
<input type="text" placeholder="">
<button type="reset"><i class="fa fa-times"></i></button>
</form>
<script src="https://kit.fontawesome.com/yourcode.js" crossorigin="anonymous"></script>
</body>
</html>