Bootstrap 3 Float Label

Size
2,581 Kb
Views
76,912

How do I make an bootstrap 3 float label?

Pure CSS implementation of Float Label pattern for Bootstrap 3.. What is a bootstrap 3 float label? How do you make a bootstrap 3 float label? This script and codes were developed by Anton Staroverov on 18 November 2022, Friday.

Bootstrap 3 Float Label Previews

Bootstrap 3 Float Label - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Bootstrap 3 Float Label</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css'>
<link rel='stylesheet prefetch' href='https://cdn.rawgit.com/tonystar/bootstrap-float-label/v3.0.0/dist/bootstrap-float-label.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div style="padding: 3rem 1rem"> <form class="well center-block" style="max-width: 35rem"> <legend class="text-center">Sign up</legend> <div class="form-group input-group"> <span class="has-float-label"> <input class="form-control" id="first" type="text" placeholder="Name"/> <label for="first">First</label> </span> <span class="has-float-label"> <input class="form-control" id="last" type="text" placeholder="Surname"/> <label for="last">Last</label> </span> </div> <div class="form-group input-group"> <span class="input-group-addon">@</span> <span class="has-float-label"> <input class="form-control" id="email" type="email" placeholder="[email protected]"/> <label for="email">Email</label> </span> </div> <div class="form-group has-float-label"> <input class="form-control" id="password" type="password" placeholder="••••••••"/> <label for="password">Password</label> </div> <div class="form-group has-float-label"> <select class="form-control" id="country"> <option selected>United States</option> <option>Canada</option> <option>...</option> </select> <label for="country">Country</label> </div> <div class="form-group checkbox"> <label> <input type="checkbox"/> Subscribe to newsletter </label> </div> <div> <button class="btn btn-block btn-primary" type="submit">Sign up</button> </div> </form> <div class="text-center"> <a href="https://github.com/tonystar/bootstrap-float-label/tree/v3-dev" target="_blank">Project on GitHub</a> • <a href="https://codepen.io/tonystar/pen/LRdpYZ" target="_blank">Switch to Bootstrap 4</a> </div>
</div> <script src="js/index.js"></script>
</body>
</html>

Bootstrap 3 Float Label - Script Codes CSS Codes

/*
Powered by:
- https://github.com/tonystar/bootstrap-float-label
- https://v4-alpha.getbootstrap.com/
Inspired by:
- https://thatemil.com/blog/2016/01/23/floating-label-no-js-pure-css/
- http://mds.is/float-label-pattern/
*/

Bootstrap 3 Float Label - Script Codes JS Codes

// No JS!
Bootstrap 3 Float Label - Script Codes
Bootstrap 3 Float Label - Script Codes
Home Page Home
Developer Anton Staroverov
Username tonystar
Uploaded November 18, 2022
Rating 3
Size 2,581 Kb
Views 76,912
Do you need developer help for Bootstrap 3 Float Label?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Anton Staroverov (tonystar) Script Codes
Create amazing Facebook ads with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!