Found 10483 Articles for Web Development

Vertically stack pills with Bootstrap

Smita Kapse
Updated on 15-Jun-2020 07:34:10

214 Views

Use the .nav-stacked class in Bootstrap to vertically stack pills:You can try to run the following code to implement the .nav-stacked class −ExampleLive Demo           Bootstrap Example                                          Database          The following are the database technologies:                       DB2             MySQL             SQL             CouchDB                    

Center tabs in Bootstrap

Chandu yadav
Updated on 15-Jun-2020 07:35:21

934 Views

Use the .nav-justified class in Bootstrap to center tabs in Bootstrap.You can try to run the following code to center tabs −ExampleLive Demo           Bootstrap Example                                          Web Development          The following are the web dev technologies:                       HTML5             jQuery             JavaScript             Ajax             ES6                    

Create a red color alert box that indicates a dangerous action in Bootstrap

Smita Kapse
Updated on 15-Jun-2020 07:36:49

828 Views

Use the .alert-danger class in Bootstrap to create a red color alert box indicating dangerous action.You can try to run the following code to implement .alert-danger class −ExampleLive Demo        Bootstrap Example                                                       Danger!             Add dangerous action here...                    

Create a Bootstrap progress bar with different styles

Ankith Reddy
Updated on 15-Jun-2020 07:38:35

675 Views

Follow the below given steps to create a progress bar with different styles −Add a with a class of .progress.Next, inside the above , add an empty with a class of .progress-bar and class progress-bar-* where * could be success, info, warning, danger.Add a style attribute with the width expressed as a percentage. Say, for example, style = "60%"; indicates that the progress bar was at 60%.The progress bars created below are for showing positive action and key information −ExampleLive Demo           Bootstrap Example                                 Progress Bars                             90% Complete (Sucess)                                             30% Complete (info)                    

Add a background color to the active list item in a Bootstrap list group

Arjun Thakur
Updated on 15-Jun-2020 07:17:26

1K+ Views

Use the .active class to add gray background color to the active list item in a list group in Bootstrap.You can try to run the following code to add background color to the active list item −ExampleLive Demo           Bootstrap Example                                          Features of Java                       Interface             Multi-threading             Packages             Collection             Serialization                    

Add a gray background color to the active link in a default Bootstrap navbar

Krantik Chavan
Updated on 15-Jun-2020 07:15:32

642 Views

To add gray background color to the active link, use the .active class in Bootstrap.You can try to run the following code to implement .active class −ExampleLive Demo           Bootstrap Example                                                                      Website                                        Home                Tutorials                Quiz                                            Demo          This is demo text.          

Set large modal in Bootstrap

George John
Updated on 15-Jun-2020 07:18:34

2K+ Views

Use the .modal-lg class in Bootstrap to set large modal with more width.You can try to run the following code to set large modal;ExampleLive Demo           Bootstrap Example                                          Examination          Result                                                                                    ×                      Warning                                                          If JavaScript isn't enabled in your web browser, then you may not be able to see the result.                                                          Close                                                                  

Add a shadow to an element with Bootstrap 4

Smita Kapse
Updated on 15-Jun-2020 07:20:43

396 Views

To add a shadow to an element in Bootstrap, use the .shadow class in Bootstrap 4.You can try to run the following code to add shadow to an element −ExampleLive Demo           Bootstrap Example                                          Learning          Try programming examples          Try programming examples          Play Quiz and check your knowledge          

Disable a dropdown item with Bootstrap

Chandu yadav
Updated on 15-Jun-2020 07:21:37

6K+ Views

To disable to dropdown item in Bootstrap, use the .disabled class with the .dropdown-menu class.You can try to run the following code to disable dropdown item −ExampleLive Demo           Bootstrap Example                                          Beverages          The following are the beverages available in India:                       Beverages                                        Gatorade                Sting                Red Bull                Pepsi                Coca Cola                                

Footer of the modal in Bootstrap

Ankith Reddy
Updated on 15-Jun-2020 07:23:52

718 Views

To set the footer of the Bootstrap modal, use the .modal-footer class.You can try to run the following code to implement the modal-footer class −ExampleLive Demo           Bootstrap Example                                          Examination          Result                                                                              ×                      Warning                                                          If JavaScript isn't enabled in your web browser, then you may not be able to see the result.                                                          Close                                                                  

Advertisements