Bootstrap 4 Floating Labels

Size
1,899 Kb
Views
60,720

How do I make an bootstrap 4 floating labels?

What is a bootstrap 4 floating labels? How do you make a bootstrap 4 floating labels? This script and codes were developed by Anton Staroverov on 18 November 2022, Friday.

Bootstrap 4 Floating Labels Previews

Bootstrap 4 Floating Labels - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Bootstrap 4 Floating Labels</title> <link rel='stylesheet prefetch' href='https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.4/css/bootstrap.min.css'>
<link rel='stylesheet prefetch' href='https://cdn.rawgit.com/tonystar/bootstrap-float-label/v4.0.0/dist/bootstrap-float-label.min.css'>
</head>
<body> <div class="container"> <div class="row" id="contact"> <div class="col-md-12"> <h3 class="text-uppercase headline">Contact</h3> <hr> <form> <div class="col-md-5 offset-md-4"> <div class="form-group has-float-label"> <input type="text" class="form-control" id="first-name" placeholder="First Name" required> <label for="first-name">First</label> </div> <div class="form-group"> <span class="has-float-label"> <label for="last-name">Last</label> <input type="text" class="form-control" id="last-name" placeholder="Last Name"> </span> </div> <div class="form-group"> <span class="has-float-label"> <label for="tel-input">Telephone</label> <input class="form-control" type="tel" placeholder="(405) 237-9242" id="tel-input"> </span> </div> <div class="form-group"> <span class="has-float-label"> <label for="email">Email</label> <input type="email" class="form-control" id="email" aria-describedby="email-help" placeholder="Enter email" pattern="/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/" required> </span> <small id="email-help" class="form-text text-muted">I'll never share your email with anyone else.</small> </div> <div class="form-group"> <span class="has-float-label"> <label for="message-box">Hello</label> <textarea class="form-control" id="message-box" rows="3" required></textarea> </span> </div> <button type="submit" class="btn btn-primary">Email Me</button> </div> </form> </div> </div>
</div> <script src='https://ajax.googleapis.com/ajax/libs/jquery/3.0.0/jquery.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/tether/1.2.0/js/tether.min.js'></script>
<script src='https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.4/js/bootstrap.min.js'></script>
</body>
</html>
Bootstrap 4 Floating Labels - Script Codes
Bootstrap 4 Floating Labels - Script Codes
Home Page Home
Developer Anton Staroverov
Username tonystar
Uploaded November 18, 2022
Rating 3
Size 1,899 Kb
Views 60,720
Do you need developer help for Bootstrap 4 Floating Labels?

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 blog posts 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!