Create Extra Small Button Group with Bootstrap

Smita Kapse
Updated on 15-Jun-2020 06:35:32

317 Views

To create a large button group in Bootstrap, use the .btn-group-xs class.You can try to run the following code to implement the .btn-group-xs class −ExampleLive Demo           Bootstrap Example                                 The following are the car brands:                BMW          Audi          Jeep          Datsun          Toyota             The following are FMCG:                ITC Limited          Colgate-Palmolive          Nestle          Britannia Industries Limited          

Use Bootstrap Button Plugins

Smita Kapse
Updated on 15-Jun-2020 06:34:08

147 Views

Add in some interaction such as control button states or create groups of buttons for more components like toolbars with the plugin.You can try to run the following code to implement button plugin −ExampleLive Demo           Bootstrap Example                                 Button Example                             Primary                                $(function () {             $("#myButtons1 .btn").click(function(){                $(this).button('toggle');             });          });          

Large Input Field with Bootstrap

Arjun Thakur
Updated on 15-Jun-2020 06:32:44

593 Views

Use the .input-lg class to set large input field in Bootstrap.You can try to run the following code to implement .input-lg class −ExampleLive Demo           Bootstrap Example                                                      Candidate Profile                                      What is your job profile?                                   Programmer                   Web Developer                   DBA                   Support Engineer                                                        Educational Qualifcation                                   Undergraduate                   Graduate                   Post-Graduate                                                

Use Bootstrap Collapse Plugins

Smita Kapse
Updated on 15-Jun-2020 06:31:28

156 Views

The collapse plugin makes it easy to make collapsing divisions of the page. Whether you use it to build an accordion navigation or content boxes, it allows for a lot of content options.You can try to run the following code to implement collapse plugins in Bootstrap −ExampleLive Demo           Bootstrap Example                                                                                                              Click me to expand. Click me again to collapse.Section                                                                                             Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred                   nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo.                                                

Set Important Information for a List Item in a List Group with Bootstrap

Ankith Reddy
Updated on 15-Jun-2020 06:29:08

127 Views

use the list-group-item-info class in Bootstrap to set key information for a list item in a list group.You can try to run the following code to implement the list-group-item-info class −ExampleLive Demo           Bootstrap Example                                          Java                                      Interfaces                                        Multi-threading                                        Packages                                

Set All List Items on a Single Line with Bootstrap

Nishtha Thakur
Updated on 15-Jun-2020 06:27:53

2K+ Views

To set all list items on a single line, use the .list-inline class.You can try to run the following code to implement the .list-inline class −ExampleLive Demo           Bootstrap Example                                          Technologies                       Home             PHP             Java             jQuery             JavaScript             Ruby                    

Create a Small Button with Bootstrap

Smita Kapse
Updated on 15-Jun-2020 06:26:19

3K+ Views

Use the .btn-sm class in Bootstrap to create a small button.You can try to run the following code to create button smaller than the default size −ExampleLive Demo           Bootstrap Example                                 Click below if you want to know the warning message:       Warning       Click below if you want to know the result:       Result    

Declare a Boolean in JavaScript

Ayyan
Updated on 15-Jun-2020 06:24:05

2K+ Views

To declare a Boolean in JavaScript, you need to assign true or false value.var answer = true;ExampleTo learn about the working of Boolean, let’s see the following example −Live Demo           JavaScript Boolean                        var num1 = 10;          var num2 = 20;          document.write(num1 > num2);          

Disable Pagination Link with Bootstrap

karthikeya Boyini
Updated on 15-Jun-2020 06:23:56

1K+ Views

Use the .disabled class in Bootstrap with the .pagination to disable a pagination link.You can try to run the following code to disable pagination linkExampleLive Demo           Bootstrap Example                                              Java Tutorial          The following are the lessons of Java Tutorial:                       1             2             3             4             5             6             7             8                    

Java Variable Widening Example

Jai Janardhan
Updated on 15-Jun-2020 05:56:52

1K+ Views

Widening refers to passing a lower size data type like int to a higher size data type like long. No casting is required in such a case.public class MyFirstJavaProgram {    public static void main(String []args) {       int a = 300;       long b = a;       System.out.println(b);    } }

Advertisements