Bootstrap Articles - Page 41 of 49

Clearfix Bootstrap class

George John
Updated on 12-Jun-2020 14:58:47

392 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:Live Demo           Bootstrap Example                                                       Quick Float to left                                 Quick Float to right                    

Clear the float of an element with Bootstrap

Lakshmi Srinivas
Updated on 12-Jun-2020 14:59:29

623 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 elementLive Demo           Bootstrap Example                                                       left                                 right                    

Bootstrap class pull-left

Ankith Reddy
Updated on 12-Jun-2020 15:00:44

621 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 −ExampleLive Demo           Bootstrap Example                                          Float to left          

Bootstrap Helper Classes

Arjun Thakur
Updated on 12-Jun-2020 14:33:14

251 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 −ExampleLive Demo           Bootstrap Example                                                       Quick Float to left                                 Quick Float to right                    

Image Thumbnail with Bootstrap

Lakshmi Srinivas
Updated on 12-Jun-2020 14:37:14

887 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 imagesExampleLive Demo           Bootstrap Images                                 Styling images with Bootstrap       Original Image             Thumbnail Image          

img-rounded Bootstrap class

George John
Updated on 12-Jun-2020 14:37:56

334 Views

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

Add style to images with Bootstrap

Samual Sam
Updated on 12-Jun-2020 14:41:30

763 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 imagesExampleLive Demo           Bootstrap Images                                 Styling images with Bootstrap                      

Disable a Bootstrap Button

Ankith Reddy
Updated on 12-Jun-2020 14:40:12

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 −ExampleLive Demo           Bootstrap Example                                 The following are some buttons:                Default Button                      Active Button                      Disabled Button          

Set active state for Bootstrap Buttons

Lakshmi Srinivas
Updated on 12-Jun-2020 14:42:29

2K+ Views

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

Bootstrap .radio-inline class

Chandu yadav
Updated on 12-Jun-2020 14:21:57

1K+ Views

Use .radio-inline class to a series of radios for controls to appear on the same line. You can try to run the following code to implement the radio-inline class in Bootstrap −ExampleLive Demo           Bootstrap Forms                                       Best Porgraming Language                             Java                                 C                                 C++                    

Advertisements