Bootstrap Articles

Page 7 of 49

Set active state for Bootstrap Buttons

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 11-Mar-2026 2K+ Views

To set the active state for Bootstrap Buttons, use the .active class.The button will appear pressed as in the following codeExample           Bootstrap Example                                 The following are some buttons:                Default Button                      Active Button          

Read More

Disable a Bootstrap Button

Ankith Reddy
Ankith Reddy
Updated on 11-Mar-2026 2K+ Views

When you disable a button, it will fade in color by 50%, and lose the gradient. Use disabled to disable any button.To disable a button, you can try to run the following code −Example           Bootstrap Example                                 The following are some buttons:                Default Button                      Active Button                      Disabled Button          

Read More

Add style to images with Bootstrap

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

The following classes are provided by Bootstrap to add style to images: .img-rounded − adds border-radius:6px to give the image rounded corners. .img-circle − makes the entire image round by adding border-radius:500px. .img-thumbnail − adds a bit of padding and a gray borderYou can try to run the following code to add style to imagesExample           Bootstrap Images                                 Styling images with Bootstrap                      

Read More

img-rounded Bootstrap class

George John
George John
Updated on 11-Mar-2026 340 Views

Use the img-rounded Bootstrap class to style your image and give it rounded corners:Example           Bootstrap Images                                 Styling images with Bootstrap       Original Image             Rounded Image          

Read More

Image Thumbnail with Bootstrap

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

To add a thumbnail to the image, use the .img-thumbnail Bootstrap class.You can try to run the following code to add a thumbnail to imagesExample           Bootstrap Images                                 Styling images with Bootstrap       Original Image             Thumbnail Image          

Read More

Bootstrap Helper Classes

Arjun Thakur
Arjun Thakur
Updated on 11-Mar-2026 256 Views

The helper classes in Bootstrap include the pull-left,.pull-right, .center-block, and other classes.Let us see an example of .clearfix class −To clear the float of any element, use the .clearfix class −Example           Bootstrap Example                                                       Quick Float to left                                 Quick Float to right                    

Read More

Bootstrap class pull-left

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

Float an element to the left with class pull-left.You can try to run the following code to implement the pull-left class −Example           Bootstrap Example                                          Float to left          

Read More

Clear the float of an element with Bootstrap

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

To clear the float of an element, use the .clearfix Bootstrap class.ExampleYou can try to run the following code to clear float of an element           Bootstrap Example                                                       left                                 right                    

Read More

Clearfix Bootstrap class

George John
George John
Updated on 11-Mar-2026 397 Views

Use the .clearfix class to clear the float of any element in Bootstrap.ExampleYou can try to run the following code to implement the clearfix class:           Bootstrap Example                                                       Quick Float to left                                 Quick Float to right                    

Read More

Hide content with Bootstrap

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

To hide content with Bootstrap, use the .hidden class in Bootstrap. You can try to run the following code to hide content:Example           Bootstrap Example                                                       Content is visible.                                 Content is hidden.                    

Read More
Showing 61–70 of 489 articles
« Prev 1 5 6 7 8 9 49 Next »
Advertisements