Bootstrap Articles

Page 47 of 49

How to align two navbars in bootstrap?

Diksha Patro
Diksha Patro
Updated on 17-Feb-2023 364 Views

Introduction A well-liked front-end framework for creating websites and applications is called Bootstrap. The grid system in Bootstrap can be used to align two navigation bars (navbars). To align the two navbars in Bootstrap, use the ml-auto class on the second navbar and the’ justify-content-between’ type on the parent container of the two navbars. To position, the second navbar to the right of the parent container instead, use the 'float-right' class on the navbar. Approaches The following are some typical methods for aligning two navbars in bootstrap − Using the 'container' class on the parent container of the ...

Read More

How to create a chart using bootstrap?

Shubham Vora
Shubham Vora
Updated on 16-Feb-2023 3K+ Views

The chart is very important to visualize the data, and we can show the data in various formats and analyze the pattern in the data. Also, the chart is more important for data scientists as they need to analyze the various data. Bootstrap is a library that allows us to draw various charts using JavaScript or JQuery. It contains the functions that we need to import and pass chart type and chart data as an argument of the function, and it will prepare a chart for us. This tutorial will teach us to draw various chart patterns using Bootstrap. Syntax ...

Read More

How to add an active class on click event in a custom list group in Bootstrap?

AmitDiwan
AmitDiwan
Updated on 06-Feb-2023 7K+ Views

We can add an active class to a custom list group item in Bootstrap 4 by using JavaScript or jQuery. This can be achieved by adding an onclick event to each list group item and then using the "addClass" method to add the active class to the item that was clicked. By doing this, we can easily create a custom list group with an active state that changes based on user interaction. Bootstrap Intro Bootstrap is a popular open-source front-end development framework. It helps to create responsive and mobile-first webpages by providing a set of pre-designed CSS and JavaScript ...

Read More

How to add image before optgroup label using Bootstrap?

Diksha Patro
Diksha Patro
Updated on 31-Jan-2023 890 Views

Introduction When building web pages using Bootstrap, it may be useful to add an image before the label of an optgroup element. This can help to visually group options within a select element and make the page more user-friendly. In this article, we will discuss adding an image before the label of an optgroup element using Bootstrap. What is an optgroup? An optgroup is an HTML element that groups related options within a select element. The optgroup element creates a label for the group of options, and the options within the optgroup are indented and visually grouped together. Syntax ...

Read More

Create Three Equal Columns with Bootstrap grid Layout

Chandu yadav
Chandu yadav
Updated on 09-Feb-2022 1K+ Views

To create three equal columns layout with Bootstrap Grid Layout, you can try to run the following code −Example           Bootstrap Example                              Bootstrap Grid                       Column One             Column Two             Column Three                     Output

Read More

Responsive Video or Slideshow Embeds in Bootstrap with Examples

Prateek Jangid
Prateek Jangid
Updated on 26-Nov-2021 641 Views

Bootstrap is a free open source and is one of the most famous HTML, CSS, and Javascript frameworks. It's used for user interfaces and themes that create what a user sees in a website or application, and it's utilized on the client rather than the server.Responsive web applications automatically adapt to various screen sizes. It is used to create responsive mobile-first web apps and websites; mobile-first refers to designing for smaller displays first and then scaling up to bigger ones. As a result, you won't have to worry about your app not working on different devices or with different screen ...

Read More

Bootstrap 4 .border-secondary class

Alex Onsman
Alex Onsman
Updated on 16-Jun-2020 283 Views

Use the border-secondary class in Bootstrap 4 to add a gray border to an element.Set the border as −   Gray border I have styled our element as shown in the following code snippet − .test {   width: 200px;   height: 150px;   margin: 10px; } You can try to run the following code to implement the border-secondary class −ExampleLive Demo       Bootstrap Example                             .test {       width: 200px;       height: 150px;       margin: 10px;     }       Rectangle   Gray border

Read More

How to include Bootstrap Plugins on a website

Arjun Thakur
Arjun Thakur
Updated on 15-Jun-2020 166 Views

To include Bootstrap plugins on a website, consider any of the below form −IndividuallyUsing Bootstrap's individual *.js files. Some plugins and CSS components depend on other plugins. If you include plugins individually, make sure to check for these dependencies in the docs.Compiled (all at once)Using bootstrap.js or the minified bootstrap.min.js. Do not attempt to include both, as both bootstrap.js and bootstrap.min.js contain all plugins in a single file.

Read More

How to use Bootstrap Alert Plugins

Vrundesha Joshi
Vrundesha Joshi
Updated on 12-Jun-2020 194 Views

Alert messages are used to display information such as warning or confirmation messages to the end users. You can try to run the following code to implement alert plugins in Bootstrap − Example           Bootstrap Example                                              ×          Success! the result is successful.                        $(function(){             $("#myAlert").bind('closed.bs.alert', function () {                 alert("Alert message box is closed.");             });          });           

Read More

Bootstrap responsive utility classes

Samual Sam
Samual Sam
Updated on 12-Jun-2020 277 Views

The following are the classes available for responsive utility classes in Bootstrap −ClassesDevices.visible-xsExtra small (less than 768px) visible.visible-smSmall (up to 768 px) visible.visible-mdMedium (768 px to 991 px) visible.visible-lgLarger (992 px and above) visible.hidden-xsExtra small (less than 768px) hidden.hidden-smSmall (up to 768 px) hidden.hidden-mdMedium (768 px to 991 px) hidden.hidden-lgLarger (992 px and above) hidden

Read More
Showing 461–470 of 489 articles
Advertisements