- Trending Categories
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 627 Articles for CSS Framework

Updated on 18-Jun-2020 12:23:08
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

Updated on 18-Jun-2020 12:24:56
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

Updated on 18-Jun-2020 11:03:31
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

Updated on 18-Jun-2020 11:18:08
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:

Updated on 18-Jun-2020 11:21:00
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

Updated on 18-Jun-2020 11:23:44
To add left rounded corners to an element like , then use the rounded-left class in Bootstarp 4.To set rounded left corners −You can try to run the following code to implement rounded-left class −ExampleLive Demo
Bootstrap Example
.one {
width: 200px;
height: 100px;
background-color: #FFFF00;
margin: 8px;
}
Rounded Corner
We have three rectangles with left rounded corner:

Updated on 18-Jun-2020 11:27:41
Use the .justify-content-*-end class to align flex items in the end on different screen sizes like this −For small screen size, use −justify-content-sm-endFor medium screen size, use −justify-content-md-endFor large screen size, use −justify-content-lg-endLet us see how to align flex items horizontally on small, medium and large screen sizes −ExampleLive Demo
Bootstrap Example
Form of Tea
Black Tea
Green Tea
Indian Tea
Black Tea
Green Tea
Indian Tea
Black Tea
Green Tea
Indian Tea

Updated on 18-Jun-2020 11:46:54
Use the justify-content-*-center class in Bootstrap 4 to center content on different screen sizes.For different screen sizes −justify-content-sm-center: Small Screen Size
justify-content-md-center: Medium Screen Size
justify-content-lg-center: Large Screen Size
justify-content-xl-center: Extra Large Screen SizeLet us see how to implement the justify-content-*-center class −ExampleLive Demo
Bootstrap Example
Vehicle
Car
Bike
Truck
Car
Bike
Truck
Car
Bike
Truck
Car
Bike
Truck

Updated on 18-Jun-2020 11:51:42
Use the bg-info class with the card-class in Bootstrap 4 to add information in a card −Now include the card-body class in it −
Bring your Laptop for the BootCamp
Let us see an example to learn how to implement Bootstrap 4 bg-info class with the card class −ExampleLive Demo
Bootstrap Example
Information - Event
Bring your Laptop for the BootCamp

Updated on 18-Jun-2020 12:00:09
To align flex items around on different screen sizes, use the justify-content-*-around class.You can achieve the following result that justifies content on small and medium screen sizes −To implement the justify-content-*-around class in Bootstrap −ExampleLive Demo
Bootstrap Example
Default
ANS 1
ANS 2
ANS 3
Small Screen Size
ANS 1
ANS 2
ANS 3
Medium Screen Size
ANS 1
ANS 2
ANS 3
Large Screen Size
ANS 1
ANS 2
ANS 3
Advertisements