Bootstrap Articles

Page 3 of 49

Hidden Bootstrap class

Anvi Jain
Anvi Jain
Updated on 15-Mar-2026 2K+ Views

To hide elements in Bootstrap, you can use visibility utility classes. Bootstrap provides several classes to control element visibility across different screen sizes and contexts. Bootstrap Hidden Classes Bootstrap offers different approaches to hide elements: .d-none - Completely removes the element from the document flow .visually-hidden - Hides visually but keeps accessible to screen readers .invisible - Makes element invisible but maintains its space Using .d-none Class The .d-none class completely hides an element by setting display: none: Bootstrap ...

Read More

Creating a Tabbed pills and Vertical pills navigation menu in Bootstrap

Jaisshree
Jaisshree
Updated on 15-Mar-2026 802 Views

Bootstrap provides several options for creating navigation menus, including tabbed pills and vertical pills. These navigation components use Bootstrap's built-in classes to create stylish and functional menus that work well on all devices. Syntax /* Tabbed Pills Navigation */ .nav.nav-pills { /* Horizontal pill navigation */ } /* Vertical Pills Navigation */ .nav.nav-pills.flex-column { /* Vertical pill navigation */ } Method 1: Tabbed Pills Navigation Tabbed pills arrange navigation links horizontally, where each tab represents a different section. When a tab is clicked, the corresponding ...

Read More

How to Align Navbar Items to Center using Bootstrap 4?

Diksha Patro
Diksha Patro
Updated on 15-Mar-2026 10K+ Views

Bootstrap 4 is a popular CSS framework that helps developers create responsive, mobile-first websites quickly and easily. One of the most common design elements in a website is the navigation bar or navbar. In this article, we will discuss how to align the items in a navbar to the center using Bootstrap 4. Methods There are two effective methods to center navbar items in Bootstrap 4 − Method 1: Using Built-in Bootstrap 4 Classes Method 2: Using Custom CSS Method 1: Using Built-in Bootstrap 4 Classes Bootstrap 4 provides the justify-content-center class which ...

Read More

Difference between CSS Grid and Bootstrap

Pradeep Kumar
Pradeep Kumar
Updated on 15-Mar-2026 2K+ Views

The majority of the time, we will use CSS Grid in situations where we have strict requirements for the layout and want our content to flow on the page in accordance with those requirements. Bootstrap's grid system is based on the CSS Flexbox layout system, while the CSS Grid was influenced by print-based design. Bootstrap is a direct competitor to CSS Grid, and a significant comparison can be made between the two frameworks' respective grid layout systems. If we want to have control over the layout in either the row or column direction, then we should use the ...

Read More

Differences between Bootstrap and JQuery UI

Mahesh Parahar
Mahesh Parahar
Updated on 14-Mar-2026 1K+ Views

Both Bootstrap and jQuery UI are popular front-end tools used in web development. Bootstrap is a CSS framework focused on layout, design, and responsiveness. jQuery UI is a JavaScript library built on top of jQuery, focused on adding interactive widgets and effects to web pages. Bootstrap Bootstrap is a front-end CSS framework originally developed by Twitter. It provides pre-built CSS classes and components (grids, buttons, navbars, modals, etc.) for building responsive, mobile-first websites quickly. Bootstrap uses HTML, CSS, JavaScript, and preprocessors like LESS and SASS. Example The following example shows a responsive Bootstrap layout with a ...

Read More

Change HTML navbar color in Twitter Bootstrap 2.0.4

Arjun Thakur
Arjun Thakur
Updated on 13-Mar-2026 265 Views

To change the navbar color in Twitter Bootstrap 2.0.4, you need to customize specific CSS variables that control the appearance of the navigation bar. Bootstrap provides several variables to modify different aspects of the navbar styling. Navbar Color Customization Variables Here are the key variables you can modify to change your navbar colors − Set Navbar Background The primary background color of the navbar − navbarBackground: #c79810; Set Navbar Background Highlight The gradient highlight color that creates depth in the navbar − navbarBackgroundHighlight: #eab92d; Set Navbar Text ...

Read More

Bootstrap 3 truncate long text inside rows of a table in a responsive way with HTML

Nancy Den
Nancy Den
Updated on 13-Mar-2026 1K+ Views

To truncate long texts inside rows of a table in a responsive way using Bootstrap 3, we need to combine CSS properties that control text overflow with Bootstrap's responsive grid system. This approach ensures that long text content is properly truncated with ellipsis (...) when it exceeds the available space. CSS for Text Truncation Use the following CSS to create responsive text truncation − .table td.demo { max-width: 177px; } .table td.demo span { overflow: hidden; text-overflow: ellipsis; display: ...

Read More

How to properly integrate HTML5 Boilerplate with Twitter Bootstrap?

Nishtha Thakur
Nishtha Thakur
Updated on 13-Mar-2026 266 Views

To integrate HTML5 Boilerplate with Twitter Bootstrap, you can use the Initializr. It is an HTML5 templates generator that allows you to create a customized HTML5 boilerplate with Bootstrap components included. Using Initializr for Integration Initializr provides a web-based interface where you can select HTML5 Boilerplate as your base template and add Bootstrap framework on top of it. This creates a clean, production-ready starting point for your web projects. Example Integration Here's what a basic integrated HTML5 Boilerplate with Bootstrap looks like − ...

Read More

Set Flex Items into equal width columns with Bootstrap

Amit Diwan
Amit Diwan
Updated on 11-Mar-2026 5K+ Views

To set flex items to be of equal width column, use the flex-fill class. The class displays the items as equal width. In the below example screenshot, you can see that we have four flex items with equal width columns −The flex-fill class is used for every flex items and in this way, we can set equal width. Below, we have two flex items − Example 1 Example 2 Example       Bootstrap Example                                   With flex-fill               Example 1         Example 2         Example 3         Example 4             Without .flex-fill:               Example 1         Example 2         Example 3         Example 4              

Read More

Bootstrap btn-group-vertical class

Nancy Den
Nancy Den
Updated on 11-Mar-2026 209 Views

The btn-group-vertical class make a set of buttons appear vertically stacked rather than horizontally.You can try to run the following code to implement btn-group-vertical class:Example           Bootstrap Example                                          BCA          B.Tech                                      Masters                                                        MCA                MBA                M.Tech                M.COM                                

Read More
Showing 21–30 of 489 articles
« Prev 1 2 3 4 5 49 Next »
Advertisements