place-content
A shorthand for setting both 'align-content' and 'justify-content' at once. It controls how the alignment of the entire content block (not individual items) happens within its container.
It is documented as part of the CSS Box Alignment specification.
Syntax
/* Usage Example */
.grid-container {
display: grid;
/* centers the whole group of grid items inside the container */
place-content: center;
}
/* Syntax */
place-content: align-content;
place-content: justify-content;
/* Global values */
place-content: inherit;
place-content: initial;
place-content: revert;
place-content: revert-layer;
place-content: unset;
place-content Browser support
Widely available
Since
2015 95% global usage
This feature is well established and works across many devices and browser versions. It has been available across browsers since 2015.
59+
45+
9+
79+