5 <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
6 <meta name="description" content="">
7 <meta name="author" content="">
8 <link rel="icon" href="../../../../favicon.ico">
10 <title>Floating labels example for Bootstrap</title>
12 <!-- Bootstrap core CSS -->
13 <link href="../../../../dist/css/bootstrap.min.css" rel="stylesheet">
15 <!-- Custom styles for this template -->
16 <link href="floating-labels.css" rel="stylesheet">
20 <form class="form-signin">
21 <div class="text-center mb-4">
22 <img class="mb-4" src="https://getbootstrap.com/assets/brand/bootstrap-solid.svg" alt="" width="72" height="72">
23 <h1 class="h3 mb-3 font-weight-normal">Floating labels</h1>
24 <p>Build form controls with floating labels via the <code>:placeholder-shown</code> pseudo-element. <a href="https://caniuse.com/#feat=css-placeholder-shown">Works in latest Chrome, Safari, and Firefox.</a></p>
27 <div class="form-label-group">
28 <input type="email" id="inputEmail" class="form-control" placeholder="Email address" required autofocus>
29 <label for="inputEmail">Email address</label>
32 <div class="form-label-group">
33 <input type="password" id="inputPassword" class="form-control" placeholder="Password" required>
34 <label for="inputPassword">Password</label>
37 <div class="checkbox mb-3">
39 <input type="checkbox" value="remember-me"> Remember me
42 <button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
43 <p class="mt-5 mb-3 text-muted text-center">© 2017-2018</p>