- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 626 Articles for CSS Framework
268 Views
To create an inline flexbox container, you need to work with d-inline-flex class in Bootstrap 4 −Use the d-inline-flex class −And then set the flex items inside it as in the following code snippet − One Two Three You can try to run the following code to implement the .d-inline class −ExampleLive Demo Bootstrap Example Understanding Inline Flex One Two Three Four Five
59 Views
To show flex items on the right, horizontal on specific screen sizes, use the flex-*-row-reverse class in Bootstrap 4.Let us see how to set reverese flex items on different screen sizes −Small Screen Size: flex-sm-row-reverse Medium Screen Size: flex-md-row-reverse Large Screen Size: flex-lg-row-reverseYou can try to run the following code to display reverse flex items on different screen sizes −ExampleLive Demo Bootstrap Example Flex Row ONE TWO THREE Flex Row Reverse ONE TWO THREE Flex Row Reverse (Small Width) ONE TWO THREE Flex Row Reverse (Medium Width) ONE TWO THREE Flex Row Reverse (Large Width) ONE TWO THREE
328 Views
To align a flex item in the center on different screens in Bootstrap 4, use the .align-self-*-center class.Set it on different screens like small, medium, large, etc −Align a flex item in the center on small screen A-one B-one C-one D-one Align a flex item in the center on medium screen A-one B-one C-one D-one Align a flex item in the center on large screen A-one B-one C-one D-one Let us see an example to align a flex item in the center on different screens −ExampleLive Demo ... Read More
281 Views
Use the bg-warning class with the card class in Bootstrap to set warning action on a Bootstrap card.Set warning messages like −Do not cross! High Voltage!Use the below code to style a Bootstrap card − You are trespassing on private property! You can try to run the following code to style Bootstrap card with the bg-warning class −ExampleLive Demo Bootstrap Example Warning You are trespassing on private property!
117 Views
To wrap flex items in reverse order, you need to use the flex-wrap-reverse class in Bootstrap.To wrap reverse flex items, use the flex-wrap-reverse class −Now add the flex items accordingly − Rank 1 Rank 2 Rank 3 Rank 4 Let us see an example to implement the flex-wrap-reverse class −ExampleLive Demo Bootstrap Example Wrap Flex Wrap Rank 1 Rank 2 Rank 3 Rank 4 Rank 5 Rank 6 Rank 7 Rank 8 Rank 9 Rank 10 Rank 11 Rank 12 Rank 13 Rank 14 Rank 15 Rank 16 Rank 17 Rank 18 Rank 19 Rank 20 Flex Wrap - Reverse Rank 1 Rank 2 Rank 3 Rank 4 Rank 5 Rank 6 Rank 7 Rank 8 Rank 9 Rank 10 Rank 11 Rank 12 Rank 13 Rank 14 Rank 15 Rank 16 Rank 17 Rank 18 Rank 19 Rank 20
573 Views
Use the .d-block class in Bootstrap to create block element.The d-block class is set as shown in the below code snippet − block You can try to run the following code to implement the d-block class −ExampleLive Demo Bootstrap Example Creating Blocks Resize the browser to check the effect. block block on small screen
478 Views
The border-left-0 class is used to remove the left border in Bootstrap 4.Use it like the following example − Removing left border Let us see an example to remove the left border of an element −ExampleLive Demo Bootstrap Example .demo { width: 220px; height: 220px; margin: 50px; } Bootstrap 4 Removing left border
219 Views
Use the flex-wrap-reverse class in Bootstrap 4 to wrap flex items and in reverse order.Here is the difference between flex-wrap and flex-wrap-reverse −Set wrap-flex-reverse as in the following code snippet − Rank 1 Rank 2 Rank 3 Rank 4 Rank 5 You can try to run the following code to implement flex-wrap-reverse class −ExampleLive Demo Bootstrap Example Wrap Flex Wrap Rank 1 Rank 2 Rank 3 Rank 4 Rank 5 Rank 6 Rank 7 Rank 8 Rank 9 Rank 10 Rank 11 Rank 12 Rank 13 Rank 14 Rank 15 Rank 16 Rank 17 Rank 18 Rank 19 Rank 20 Flex Wrap - Reverse Rank 1 Rank 2 Rank 3 Rank 4 Rank 5 Rank 6 Rank 7 Rank 8 Rank 9 Rank 10 Rank 11 Rank 12 Rank 13 Rank 14 Rank 15 Rank 16 Rank 17 Rank 18 Rank 19 Rank 20
611 Views
Use the .align-self-end class to align flex item at the end in Bootstrap 4.The following is my div −Now you need to set the flex items, wherein I am aligning the 3rd flex item − Item 1 Item 2 Item 3 Item 4 You can try to run the following code to implement the align-self-end class −ExampleLive Demo Bootstrap Example Align Specific Flex Item from the end Item 1 Item 2 Item 3 Item 4
299 Views
To implement the flex items to be displayed as reversed, horizontal and right-aligned on different screen sizes, use the flex-*-row-reverse.Different screen sizes are for small, medium, large, and extra large screens. Let us see how to set reverse flex items for small screen − ONE TWO THREE You can try to run the following code to implement the flex-*-row-reverse class −ExampleLive Demo Bootstrap Example Flex Row ... Read More
To Continue Learning Please Login
Login with Google