Articles on Trending Technologies

Technical articles with clear explanations and examples

Create a block element on a specific screen width with Bootstrap 4

Ricky Barnes
Ricky Barnes
Updated on 11-Mar-2026 580 Views

To create a block on a specific screen width, use the .d-*-block class.The specific screen width can be small, medium, large and extra large. Set the class indivifually based on the screen size as shown below − d-sm-block d-md-block d-lg-block< /span> d-xl-block Let us see the complete example to learn how to create a block element on a specific screen width −Example       Bootstrap Example                             Blocks     Resize the browser to check the effect     d-block     d-sm-block     d-md-block     d-lg-block     d-xl-block  

Read More

Customize links using the active class to indicate the current page

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 11-Mar-2026 181 Views

You can customize links using the active class to indicate the current page.You can try to run the following code to customize links using the active classExample           Bootstrap Example                                 Elements                «          e1          e2          e3          e4          »          

Read More

Add hover color to a table with Bootstrap

Jennifer Nicholas
Jennifer Nicholas
Updated on 11-Mar-2026 565 Views

To add hover color to table, use the table-hover class. You can try to run the following code to implement the table-hover class:Example           Bootstrap Table                                                Footballer Rank                                      Footballer                Rank                Country                                                            Messi                1                Argentina                                        Neymar                2                Brazil                                        Ronaldo                3                Portugal                                

Read More

Sizing Bootstrap pagination-* class

Ankith Reddy
Ankith Reddy
Updated on 11-Mar-2026 402 Views

To size Bootstrap pagination-* class, use the pagination-lg and pagination-sm class.You can try to run the following code to size pagination −Example           Bootstrap Example                                 Questions       Large Pagination                «          Q1          Q2          Q3          Q4          Q5          »                   Small Pagination                «          Q1          Q2            Q3          Q4          Q5          »          

Read More

Bootstrap .btn-sm class

Samual Sam
Samual Sam
Updated on 11-Mar-2026 398 Views

To create a small button in Bootstrap, use the .btn-sm class.You can try to run the following code to implement the btn-sm classExample           Bootstrap Example                                                Small button                      Result          

Read More

Bootstrap .modal("hide") method

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

The .modal(“hide”) method in Bootstrap hides the modal.Hide the Bootstrap modal on the click of a button −$("#button1").click(function(){   $("#newModal").modal("hide"); });The modal is shown using the modal(“show”) method −$("#newModal").modal("show");Let us see an example of the modal(‘hide”) method −Example       Bootstrap Example                             #button1 {       width: 140px;       padding: 20px;       bottom: 150px;       z-index: 9999;       font-size:15px;       position: absolute;       margin: ...

Read More

Bootstrap 4 .d-*-flex class

David Meador
David Meador
Updated on 11-Mar-2026 2K+ Views

Use the .d-*-flex class in Bootstrap to set a flexbox container on a screen size as shown below −d-flex d-sm-flex d-md-flex d-lg-flexAbove the flex is set for different screen sizes, for example,d-sm-flex = Flex for Small Screen Sized-md-flex = Flex for Medium Screen Sized-lg-flex = Flex for Large Screen Sized-xl-flex = Flex for Extra Large Screen SizeLet us see an example of the class −Example       Bootstrap Example                         Understanding Flex   d-flex   Small Screen Size   Medium Screen Size   Large Screen Size   Extra Large Screen Size

Read More

Bootstrap .pager class

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 11-Mar-2026 264 Views

Get the pager links using the .pager Bootstrap class.You can try to run the following code to implement the .pager class in BootstrapExample           Bootstrap Example                                 Questions                      Previous          Next          

Read More

Stretch gathered items in Bootstrap 4

Amit Diwan
Amit Diwan
Updated on 11-Mar-2026 158 Views

To stretch gathered items, use the .align-content-stretch class in Bootstrap 4.   Use the align-content-stretch class as −

Read More

Usage of Bootstrap next class to right-align the links

Chandu yadav
Chandu yadav
Updated on 11-Mar-2026 240 Views

Use the .next class in Bootstrap to right align the links. You can try to run the following code to implement the .next class:Example           Bootstrap Example                                 Answers                      ← Older          Newer →          

Read More
Showing 29901–29910 of 61,297 articles
Advertisements