Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Bootstrap Grid Sizing of Form Controls</title> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"></script> </head> <body> <div class="m-4"> <div class="row g-3"> <div class="col-6"> <input type="text" class="form-control" placeholder="City"> </div> <div class="col-4"> <select class="form-select"> <option>State</option> </select> </div> <div class="col-2"> <input type="text" class="form-control" placeholder="Zip"> </div> </div> </div> </body> </html>