![]() |
This class accepts lots of values in tailwind CSS. It is the alternative to the CSS Place Items property. This class is used for controlling how an individual item is justified and aligned at the same time. In this class, you can set multiple class values in a single class. Place Self Classes:
place-self-autoThis class is used if the items have no parent. This class is used to define the absolute position of the items. Syntax: <element class="place-self-auto">...</element> Example:
Output: ![]() place-self-startThis class is used to display the lines at the start of the flex container. Syntax: <element class="place-self-start">...</element>
Example:
Output: ![]() place-self-endThis class is used to display the flex lines at the end of the flex container. Syntax: <element class="place-self-end">...</element> Example: >
Output: ![]() place-self-centerThis class is used to align flex items to the center of the container. Syntax: <element class="place-self-center">...</element> Example:
Output: ![]() place-self-stretchThis class defines the line stretched to take the remaining space of the flex container. It is the default value. Syntax: <element class="place-self-stretch">...</element> Example:
Output: ![]() |
Reffered: https://www.geeksforgeeks.org
Tailwind CSS |
Related |
---|
![]() |
![]() |
![]() |
![]() |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 12 |