Web.QHMIT
.com
Toggle navigation
☰
Home
HTML
CSS
Scripting
Database
Run
<!DOCTYPE html> <title>My Example</title> <!-- Bootstrap CSS --> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> <div class="container-fluid"> <div class="input-group input-group-sm"> <span class="input-group-addon"> <span class="glyphicon glyphicon-phone-alt" aria-hidden="true"> </span> </span> <input type="tel" class="form-control" aria-label="Phone Number" placeholder="Small"> </div> <div class="input-group input-group"> <span class="input-group-addon"> <span class="glyphicon glyphicon-phone-alt" aria-hidden="true"> </span> </span> <input type="tel" class="form-control" aria-label="Phone Number" placeholder="Default size"> </div> <div class="input-group input-group-lg"> <span class="input-group-addon"> <span class="glyphicon glyphicon-phone-alt" aria-hidden="true"> </span> </span> <input type="tel" class="form-control" aria-label="Phone Number" placeholder="Large"> </div> <style scope> div {margin: 10px;} </style> </div> <!-- jQuery library --> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <!-- Bootstrap JS --> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script> <!-- Initialize Bootstrap functionality --> <script> // Initialize tooltip component $(function () { $('[data-toggle="tooltip"]').tooltip() }) // Initialize popover component $(function () { $('[data-toggle="popover"]').popover() }) </script>
Preview