Bootstrap 4 Forms

Form act as a container for form elements. Form controls automatically receive some global styling with Bootstrap. All textual input, textarea, and select elements with class .form-control have a width of 100%. Bootstrap 4 Form Layouts • Stacked (full-width) form • Inline form Standard rules for all form layouts: • Wrap labels and form controls … Read more

Bootstrap Forms

Form act as a container for form elements. All textual input, textarea, and select elements with class .form-control have a width of 100%. Bootstrap provides following three types of form layouts: • Vertical form (this is default) • Horizontal form • Inline form Standard rules for Vertical form layouts: • Wrap labels and form controls … Read more

Bootstrap 4 Collapse

The .collapse class is used for bootstrap collapse functionality. Bootstrap collapse is used when we want to hide and show large amount of content. Bootstrap 4 Simple Collapsible Example: <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script> </head> <body>   <div class="container"> <h2>Bootstrap 4 Simple Collapsible … Read more

Bootstrap Collapse

The .collapse class is used for bootstrap collapse functionality. It is used to hide and show large amount of content. Bootstrap Simple Collapsible Example: <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> </head> <body>   <div class="container"> <h2>Bootstrap Simple Collapsible Example</h2> <button type="button" class="btn btn-info" data-toggle="collapse" data-target="#demo">Simple collapsible</button> … Read more

Bootstrap 4 Dropdown Header

The .dropdown-header class is used to add headers inside the dropdown menu. Bootstrap 4 Dropdowns Header Example: <!DOCTYPE html> <html> <head> <title>Bootstrap 4 Example</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script> </head> <body>   <div class="container"> <h2>Bootstrap 4 Dropdowns Example</h2> <div class="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown"> Dropdown … Read more

Bootstrap 4 Dropdowns

Dropdown menu is a graphical control element like a list box that allows the user to choose one value from a predefined list. It is a toggleable menu. Bootstrap provides the following classes to create a dropdown. .dropdown: class is used to create a dropdown menu. .dropdown-toggle: class is used to make dropdown toggleable. .caret: … Read more

Bootstrap Dropdowns

Dropdown menu is a graphical control element like a list box that allows the user to choose one value from a predefined list. It is a toggleable menu. Bootstrap provides the following classes to create a dropdown. .dropdown: class is used to create a dropdown menu. .dropdown-toggle: class is used to make dropdown toggleable. .caret: … Read more

Bootstrap 4 Cards

Bootstrap 4 card represents a bordered box with some padding around its content. It includes options for headers, footers, content, colors, etc. Bootstrap provides the following classes to create bootstrap card. .card: class is used to create a bootstrap card. .card-body: class is used to add content inside the card. .card-header: class is used to … Read more

Bootstrap Glyphicons

Glyphicons are the icon fonts which we can use in web projects. Bootstrap provides the following Glyphicons from the Glyphicons Halflings set. Glyphicons Halflings are normally not available for free but their creator has made them available for Bootstrap free of cost. glyphicon glyphicon-asterisk glyphicon glyphicon-plus glyphicon glyphicon-minus glyphicon glyphicon-eur glyphicon glyphicon-euro glyphicon glyphicon-cloud glyphicon … Read more

Bootstrap 4 Panels

Panel refers to a bordered box with some padding around its content. Bootstrap 4 provides the .panel class to create the panel. The .panel-body class is used for the content inside the panel. Bootstrap 4 Basic Panel Example: <!DOCTYPE html> <html lang="en"> <head> <title>Bootstrap 4 Basic Panel Example</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link … Read more