CSS Framework Articles

Page 29 of 45

Set blue outlined Bootstrap 4 Button

Ricky Barnes
Ricky Barnes
Updated on 11-Mar-2026 171 Views

To set blue outlined Bootstrap 4 button, use the .btn-outline-primary class.Add a blue outline to a button −   Blue outline You can try to run the following code to implement the btn-outline-primary class in Bootstrap −Example       Bootstrap Example                             Bootstrap 4     You can see blue outline below:     Blue outline

Read More

Stretch a flex item on different screens in Bootstrap 4

Ricky Barnes
Ricky Barnes
Updated on 11-Mar-2026 183 Views

To stretch a flex item on different screens in Bootstrap 4, use the .align-self-*-stretch class.To strect in on different screens, you need to use align-self-sm-stretch, align-self-md-stretch, align-self-lg-stretch, etc. Below is an example for small screen size −   A-one   B-one   C-one   D-one You can try to run the following code to stretch a flex item on different screen sizes −Example       Bootstrap Example                             Align Specific Flex Item and Stretch           A-one       B-one       C-one       D-one       Small Screen Size       A-one     B-one     C-one     D-one     Medium Screen Size         A-one     B-one     C-one     D-one     Large Screen Size         A-one     B-one     C-one     D-one      

Read More

Bootstrap 4 Button .btn-outline-light class

Ricky Barnes
Ricky Barnes
Updated on 11-Mar-2026 230 Views

Use the btn-outline-light class in Bootsrap 4 to set light grey outlined button.To include it on the web page, set it as a class in the element as shown in the following code snippet −Let us see an example to implement the btn-outline-light class −Example       Bootstrap Example                         Demo Button   Below is a light grayed outline button:       Sample  

Read More

Align gathered items from the start in Bootstrap 4

Ricky Barnes
Ricky Barnes
Updated on 11-Mar-2026 168 Views

To align gathered items from the start, use the .align-content-start class in Bootstrap 4.Set the items as shown below −   Work 1   Work 2   Work 3   Work 4   Work 5   Work 6 You can try to run the following code to implement the align-content-start in Bootstrap 4 −Example       Bootstrap Example                             Align Flex Items           Work 1       Work 2       Work 3       Work 4       Work 5       Work 6       Work 7       Work 8       Work 9       Work 10       Work 11       Work 12       Work 13       Work 14        

Read More

Align a flex item in the center with Bootstrap 4

Amit Diwan
Amit Diwan
Updated on 11-Mar-2026 1K+ Views

To align a flex item in the center with Bootstrap 4, use the .align-self-center class.The following is my div for flex −Now add flex items and here I have applied the align-self-center class on the 3rd flex item −   A-one   B-one   C-one   D-one You can try to run the following code to implement the align-self-center class in Bootstrap −Example       Bootstrap Example                             Align Specific Flex Item in the center           A-one       B-one       C-one       D-one      

Read More

Set key content with Bootstrap 4 card

Amit Diwan
Amit Diwan
Updated on 11-Mar-2026 177 Views

Add key stuff to a Bootstrap card, using the bg-primary class with the card class.Use the bg-primary class in the card class −       Eisner Award   I have used the text-white class above, to set the text to be white.Let us see a example how to include key stuff in a Bootstrap 4 card −Example       Bootstrap Example                               Awards           The Pulitzer Prize               Eisner Award               Hugo & Nebula Awards      

Read More

Bootstrap 4 Button .btn-outline-info class

David Meador
David Meador
Updated on 11-Mar-2026 252 Views

To set an outline on a button that indicates information, you need to use the btn-outline-info class in Bootstrap.Include the button element and set the btn-outline-info class −   More Info You can try to run the following code to implement the btn-outline-info class −Example       Bootstrap Example                         Event   The following are the details:       Event Timings 1PM TO 4PM     Venue: 21 KH, HG Lane, Alabama     For more information about the event:   More Info

Read More

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

David Meador
David Meador
Updated on 11-Mar-2026 2K+ Views

To align items in the center on different screen sizes, use the justify-content-*-center class.The aligned flex items would be like the following for small screen size −   GOLF   CRICKET   SQUASH The aligned flex items would be like the following for medium screen size −   GOLF   CRICKET   SQUASH The aligned flex items would be like the following for large screen size −   GOLF   CRICKET   SQUASH Let us see how to implement the justify-content-*-center −Example       Bootstrap Example                             Sports     Centered on small screen           GOLF       CRICKET       SQUASH         Centered on medium screen           GOLF       CRICKET       SQUASH         Centered on large screen           GOLF       CRICKET       SQUASH    

Read More

Bootstrap 4 card styled with bg-secondary class

Amit Diwan
Amit Diwan
Updated on 11-Mar-2026 263 Views

Add less important stuff, using the card class with the bg-secondary contextual class in Bootstrap.This class adds a gray background −Inside that, add the card body −   English You can try to run the following code to implement the card class with bg-secondary class in Bootstrap −Example       Bootstrap Example                             Languages           English               French               Chinese                Russian      

Read More

Bootstrap 4 .border-left-0 class

Alex Onsman
Alex Onsman
Updated on 11-Mar-2026 328 Views

Use the border-left-0 class to remove the left border of an element.Remove the left border of a using the class inside the −   Removing left border The “one” class is also set in the class to style it − .one {   width: 220px;   height: 220px;   margin: 50px; } You can try to run the following code to work with the border-left-0 class −Example       Bootstrap Example                             .one {       width: 220px;       height: 220px;       margin: 50px;     }         Bootstrap 4   Removing left border

Read More
Showing 281–290 of 445 articles
« Prev 1 27 28 29 30 31 45 Next »
Advertisements