Found 700 Articles for Bootstrap

Remove borders from an element in Bootstrap

Amit Diwan
Updated on 18-Jun-2020 12:15:04

3K+ Views

Use the border-0 class in Bootstrap 4 to remove all borders from an element in Bootstrap 4 −   no border Above, we have the div class to no-border class and this allow us to remove the borders from the element.Let us see an example to implement the border-0 class in Bootstrap −ExampleLive Demo       Bootstrap Example                            .mystyle {      width: 120px;      height: 100px;      margin: 10px;      background: maroon;    }             Rectangle     no border  

Bootstrap 4 .border-light class

David Meador
Updated on 18-Jun-2020 12:17:03

190 Views

Use the border-light class in Bootstrap 4, to set a light gray border to an element as shown below   light border Style for the demo class is for the element −.demo {   width: 150px;   height: 220px;   margin: 15px; }Learn how to work with the border-light class in Bootstrap −ExampleLive Demo       Bootstrap Example                             .demo {         width: 150px;       height: 220px;       margin: 15px;     }             Bootstrap 4     light border  

Set a border to an element in Bootstrap to indicate information

Amit Diwan
Updated on 18-Jun-2020 12:18:29

53 Views

To set a border indicating information, use the border-info class.To implement it −   Information Let us see an example to implement the border-info class −ExampleLive Demo       Bootstrap Example                             .one {       width: 200px;       height: 240px;       margin: 40px;     }             Rectangle with a border indicating information:     Information  

Add a red border to an element in Bootstrap to indicate danger

Alex Onsman
Updated on 18-Jun-2020 12:20:02

1K+ Views

To add a red border to an element, you need to implement the border-danger class.Red border implement danger and you can set danger messages inside it.Implementing the border-danger is quite easy −   Red Border Let us see an example to work with the border-danger Bootstrap 4 class −ExampleLive Demo       Bootstrap Example                             .new {       width: 120px;       height: 120px;       margin: 20px;     }             Rectangle with red border:     Red Border  

Add top rounded corners to an element in Bootstrap 4

Amit Diwan
Updated on 18-Jun-2020 12:21:30

378 Views

To add top rounded corners to an element, use the rounded-top class in Bootstrap 4.I have taken div as the element −Let us learn how to add top rounded corners to an element −ExampleLive Demo       Bootstrap Example                             .new {       width: 80px;       height: 80px;       background-color: #EE6D1E;       margin: 20px;     }             Rounded Corner     We have a rectangle with top rounded corner:      

Align flex items in the start on different screen sizes in Bootstrap

Amit Diwan
Updated on 18-Jun-2020 12:23:08

66 Views

To align flex items on small, medium, large and extra large screen size, use the justify-content-*-start class.Let us see first for small screen size −   Interface   Packages   Multithreading In the same way, implement it for medium, large and extra large screen size like the following −justify-content-md-start: Medium Screen size justify-content-lg-start: Large Screen size justify-content-xl-start: Extra Large Screen SizeYou can try to run the following code to align flex items in the start on different screen sizes −ExampleLive Score       Bootstrap Example                             Java Topics           Interface       Packages       Multithreading               Interface       Packages       Multithreading               Interface       Packages       Multithreading      

Bootstrap 4 .justify-content-*-start class

Alex Onsman
Updated on 18-Jun-2020 12:24:56

177 Views

Use the justify-content-start class in Bootstrap to justify content in the beginning.The justify-content-*-start class is used in Bootstrap to justify content in the beginning on different screen sizes like the following on small, medium, and large screen sizes −You can try to run the following code to implement the justify-content-*-start class −ExampleLive Demo       Bootstrap Example                                 Entertainment           Bollywood       Tollywood       Hollywood               Bollywood       Tollywood       Hollywood                Bollywood        Tollywood        Hollywood      

Bootstrap 4 .card-header-tabs class

Alex Onsman
Updated on 18-Jun-2020 11:03:31

406 Views

Use the card-header-tabs in Bootstrap to style navigation links in card header −             Drupal Commerce               WooCommerce       The header tabs are set on Unordered List using nav-tabs and card-header-tabs class as shown above −Let us see an example to learn how to create Bootstrap 4 card header − ExampleLive Demo       Bootstrap Example                               E-commerce Technologies                                         Drupal Commerce                                 WooCommerce                                 Prestashop                                 Shopify                                 Add title here       Add content here          

Bootstrap 4 .rounded-top class

Alex Onsman
Updated on 18-Jun-2020 11:18:08

247 Views

Use the rounded-top class in Bootstarp 4 to set top rounded corners to an element.Using the class, I have set two rectangles using the same class − A new class is also set for div, to style it, .new {   width: 60px;   height: 60px;   background-color: #26CF12;   margin: 20px; } You can try to run the following code to implement the rounded-top class −ExampleLive Demo      Bootstrap Example                            .new {      width: 60px;      height: 60px;      background-color: #26CF12;      margin: 20px;    }           Rounded Corner     We have two rectangles with top rounded corner:          

Create an inline flexbox container on a specific screen size in Bootstrap 4

Alex Onsman
Updated on 18-Jun-2020 11:21:00

82 Views

To create an inline flexbox container, use the d-inline-flex class in Bootstrap.Use the d-*-inline-flex class in Bootstrap to set the same inline flexbox container on specific screen size −Small Screen Size   Small Medium Screen Size   Medium Large Screen Size   Large Let us see an example to learn how to create inline flexbox container on a specific screen size −ExampleLive Demo       Bootstrap Example                             Working with Inline Flex     Resize the browser window to check the effect     d-flex       d-sm-flex       d-md-flex       d-lg-flex       d-xl-flex    

Previous 1 ... 6 7 8 9 10 ... 70 Next
Advertisements