-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
207 lines (180 loc) · 7.56 KB
/
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
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
<!DOCTYPE html>
<html lang="en-IN">
<head prefix="og: https://ogp.me/ns# ">
<!-- Required meta tags -->
<title>:: Floating label form fields with bootstrap.::</title>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Floating label input field with bootstrap 5.0.0-alpha2 with proper validation." />
<meta name="keywords"
content="Floating label input fields, Bootstrap floating label input, Floating label input with proper validation, " />
<meta name="theme-color" content="#0c5ca2">
<!--<meta name="theme-color" content="#0d123d">-->
<!-- Required og:image tags -->
<meta property="og:image" content="https://skwebs.github.io/bs5-float-label/assets/img/skwebs-logo.png">
<meta property="og:image:url" content="https://skwebs.github.io/bs5-float-label/assets/img/skwebs-logo.png">
<!-- Required favicon -->
<link rel="icon" type="image/png" href="https://skwebs.github.io/bs5-float-label/assets/img/skwebs-logo.png"
sizes="16x16,32x32,64x64">
<!-- all css vendors file-->
<link rel="stylesheet" href="./dist/css/main.min.css">
<link rel="stylesheet" href="./assets/vendors/font-awesome/4.7.0/css/font-awesome.min.css" />
<!-- <link rel="stylesheet" href="./assets/vendors/bootstrap/5.0.0-alpha2/bootstrap.min.css" /> -->
<!-- <link rel="stylesheet" href="./assets/vendors/bootstrap/5.0.0-alpha2/bs5a2-remove.css" /> -->
<link rel="stylesheet" href="./assets/vendors/jquery-ui/1.12.1/jquery-ui.min.css">
<!-- <link rel="stylesheet" href="./assets/vendors/sweetalert2/10.6.1/sweetalert2.min.css" /> -->
<!-- <link rel="stylesheet" href="./assets/vendors/cropperjs/1.5.9/cropper.min.css" /> -->
<link rel="stylesheet" href="./assets/css/hdr-main-ftr-layout.css" />
<link rel="stylesheet" href="./assets/css/bs5a2-floating-label.css?v1.1" />
<!-- all page css -->
<style type="text/css">
.wrapper {
width: 100%;
max-width: 600px;
background: #fff;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}
</style>
</head>
<body>
<header>
<nav class="navbar sticky-top navbar-expand-lg navbar-light bg-light">
<div class="container">
<a class="navbar-brand" href="./">SKWebs</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse " id="navbarNav">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="./">Home</a>
</li>
<li class="nav-item">
<a class="nav-link"
href="https://skwebs.github.io/bs-5apha2-floating-label-input-with-validation/animated-msform.html"><strong>Other</strong>
Animated Multi Step Form</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://github.com/skwebs/bs5-float-label">Github</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://github.com/skwebs/bs5-float-label/archive/master.zip">Download Code</a>
</li>
</ul>
</div>
</div>
</nav>
</header>
<main class="px-4 py-5">
<div class="wrapper mx-auto p-4 p-md-5">
<form class="was-validated mt-4" novalidate>
<div class="form-float form-float-ul mb-5">
<h3>Underlined Floating Label</h3>
<div class="form-group mt-4 mb-4">
<input type="text" class="form-control form-control-sm" placeholder=" " required
pattern="^[A-Z]{1}[a-z]{2,10}$">
<span class="form-float-underline"></span>
<label for="">Input Small</label>
</div>
<div class="form-group mb-4">
<input type="text" class="form-control" placeholder=" " required pattern="^[A-Z]{1}[a-z]{2,10}$">
<span class="form-float-underline"></span>
<label for="">Input</label>
</div>
<div class="form-group mb-4">
<input type="text" class="form-control form-control-lg" placeholder=" " required
pattern="^[A-Z]{1}[a-z]{2,10}$">
<span class="form-float-underline"></span>
<label for="">Input Large</label>
</div>
<div class="form-group mb-4">
<select class="form-select form-select-sm" placeholder=" " required pattern="[^\0]">
<option value=""></option>
<option value="option 1">Option 1</option>
</select>
<span class="form-float-underline"></span>
<label for="">Select Small</label>
</div>
<div class="form-group mb-4">
<select class="form-select" placeholder=" " required pattern="[^\0]">
<option value=""></option>
<option value="option 1">Option 1</option>
</select>
<span class="form-float-underline"></span>
<label for="">Select</label>
</div>
<div class="form-group mb-4">
<select class="form-select form-select-lg" placeholder=" " required pattern="[^\0]">
<option value=""></option>
<option value="option 1">Option 1</option>
</select>
<span class="form-float-underline"></span>
<label for="">Select Large</label>
</div>
<div class="form-group mb-4 ">
<textarea id="tag" class="form-control" placeholder=" " required></textarea>
<span class="form-float-underline"></span>
<label for="taf">Text area</label>
</div>
</div>
<div class=" form-float form-float-box pt-4">
<h3 class="my-5">Bordered Floating Label <i class="fas fa-trash"></i></h3>
<div class="form-group mt-4 mb-4">
<input type="text" class="form-control form-float form-float-box form-control-sm" placeholder=" " required
pattern="^[A-Z]{1}[a-z]{2,10}$">
<label for="">Input Small</label>
</div>
<div class="form-group mb-4">
<input type="text" class="form-control form-float form-float-box" placeholder=" " required
pattern="^[A-Z]{1}[a-z]{2,10}$">
<label for="">Input</label>
</div>
<div class="form-group mb-4">
<input type="text" class="form-control form-float form-float-box form-control-lg" placeholder=" " required
pattern="^[A-Z]{1}[a-z]{2,10}$">
<label for="">Input Large</label>
</div>
<div class="form-group mb-4">
<select class="form-select form-select-sm" placeholder=" " required pattern="[^\0]">
<option value=""></option>
<option value="option 1">Option 1</option>
</select>
<label for="">Select Small</label>
</div>
<div class="form-group mb-4">
<select class="form-select" placeholder=" " required pattern="[^\0]">
<option value=""></option>
<option value="option 1">Option 1</option>
</select>
<label for="">Select</label>
</div>
<div class="form-group mb-4">
<select class="form-select form-select-lg" placeholder=" " required pattern="[^\0]">
<option value=""></option>
<option value="option 1">Option 1</option>
</select>
<label for="">Select Large</label>
</div>
<div class="form-group mb-4">
<textarea id="ta" class="form-control form-float form-float-box" placeholder=" " required></textarea>
<label for="ta">Textarea</label>
</div>
</div>
</form>
</div>
</main>
<footer class="bg-light text-muted">
<!-- copyright section -->
<section class="copyright my-auto py-4 text-center ">
©
<script>
document.write(new Date().getFullYear())
</script> Designed & Developed by <a href="https://skwebs.github.io">SKWebs</a>
</section>
<!-- // copyright section -->
</footer>
<script defer src="./assets/js/app.js"></script>
</body>
</html>