![]() |
VOOZH | about |
The CSS place-content property is the shorthand of align-content and justify-content property. The shorthand properties in CSS means that you can set the multiple properties values in a single property. Here the place-content property can hold the value of the align-content and justify-content property values.
Syntax:
place-content: align-content-property-value justify-content-property-value
Property Values: This property accepts all the possible combination values that can make by the align-content and justify-content property values.
Below examples illustrate the CSS place-content property:
Example 1: In this example, we will use the following place-content property values: flex-start center.
Output:
Example 2: Here we will use place-content: flex-start start property value.
Output:
Example 3: Here we will use the place-content: flex-end end property value.
Output:
Supported Browsers: