Progress Bar in Bootstrap 4 is mainly used to indicate to the user, how much progress of the process is done. progress bars featuring support for stacked bars, animated backgrounds, and text labels. Use utility classes for the background (bg-success, bg- info, bg-light, bg-dark, bg-danger, bg-warning) for creating a progress bar with a different color.
Where to use Progress Bar:-
Progress Bar With Label by placing text within the .progress-bar.
Progress Bar With Height.
Colored Progress Bar by using .progress-bar-sucess|info|warning|danger.
Striped Progress Bar by using .progress-bar-striped class.
Animated Progress Bar by using .active class.
Stacked Progress Bars by using <div class=”progress”>.
The navbar is one of the prominent features of Bootstrap sites. A navigation bar is a navigation header that is placed at the top of the page. the navigation bar can extend or collapse, depending on the screen size. A standard navigation bar is created with the .navbar class.
Format of nav bar:-
Vertical Navbar by using class=”navbar-nav”.
Centered Navbar by using .justify-content-center class to center the navigation bar.
Colored Navbar by using any of the .bg-color classes to change the background color of navbar.
Brand/Logo by using .navbar-brand class is used to highlight the brand/logo/project name of your page.
Collapsing The navbar To create a collapsible navigation bar, use a button with class=”navbar-toggler”, data-toggle=”collapse” and data-target=”#thetarget”.
Navbar With Dropdown.
Navbar Froms and Buttons Add a <form> element with class=”form-inline” to group inputs and buttons side-by-side.
Nevbar Text use .navbar-text class to vertically align any elements inside the navbar that are not links.
Fixed Navbar by using .fixed-top or .fixed-bottom class to make the navbar fixed.
Sticky navbar use the .sticky-top class to make the navbar fixed/stay at the thop of the page.
List groups are a flexible and powerful component for displaying a series of content.
features:-
Basic items simply making for list.
Active items used for showing it’s an active mode.
Disabled items used for just reading that message.
Links and buttons are used to create actionable list group items with hover.
Flush / Remove Borders are used to remove some borders and rounded corners to render list group items edge-to-edge in a parent container (card).
Horizontal to change the layout of list group items from vertical to horizontal across all breakpoints.
Contextual classes to style list items with a stateful backgrond and color.
With badges to show unread counts, activity .
Custom content by the help of flexbox utilities.
JavaScript behavior to create tabbable panes of local content.
Using data attributes use for activate a list group navigation without writing any javaScript by simply specifying data-toggle=”list” or on an element.
Dropdown menu is a toggleable menu that allows users to choose one value from a predefined list. Sometimes it helps the users to same time for finding some particular things.
For creating a dropdown menu
The class dropdown indicates a dropdown menu.
To open the dropdown menu, use a button or a link with a class of .dropdown-toggle and the data-toggle=”dropdown” attribute.
arrow icon () used inside button .caret class in span tag.
And then .dropdown-menu class inside <ul> or <ol> element to actually build the dropdown menu.
Styles for using the dropdown to look fabulous:-
Dropdown Divider (This class is used to separate links inside the dropdown menu with a thin horizontal borde)
Dropdown Header (This class is used to add headers inside the dropdown menu)
Disable and Active items (This class is used to Highlight a specific dropdown item)
Dropdown Position (This class is used to adjust the dropdown on the left or right side)
Dropup (This class is used to the dropdown menu to expand upward direction)
Dropdown Menu Right/left (This class is used to adjust the menu whether its place is right or left )
The simple way to create a dropdown
Divider & header use:-
Disable and Active items & Dropdown Position use:-