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 10 Bootstrap 4 Form Layouts • Stacked (full-width) form • Inline form Standard rules for all 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 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 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 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

Bootstrap 4 List Group Disabled

Bootstrap provide the facility to create a group of list with list items. The most basic list group is an unordered list with list items. Use an ul element with class .list-group, and li elements with class .list-group-item to create a basic list group. The .disabled class is used to disable an item. Bootstrap 4 … Read more

Bootstrap 4 List Groups

Bootstrap provide the facility to create a group of list with list items. The most basic list group is an unordered list with list items. Use an ul element with class .list-group, and li elements with class .list-group-item to create a basic list group. Bootstrap 4 List Groups Example: <!DOCTYPE html> <html lang="en"> <head> <title>Bootstrap … Read more

Bootstrap 4 Pagination

Pagination is the process of separating print or digital content into discrete pages. Basic pagination is created by adding the .pagination class to an ul element. Then add the .page-item to each li element and a .page-link class to each link inside li. Bootstrap 4 Pagination Example: <!DOCTYPE html> <html lang="en"> <head> <title>Bootstrap 4 Pagination … Read more

Bootstrap 4 Progress Bar

A progress bar is a graphical control element used to visualize the progression of an extended computer operation. Bootstrap provides several types of progress bars. The .progress class is used with div element to create default progress bar. Bootstrap 4 Basic Progress Bar Example: <!DOCTYPE html> <html lang="en"> <head> <title>Bootstrap 4 Basic Progress Bar Example</title> … Read more