Свойство place-content является сокращением для align-content и justify-content. Он может использоваться в любом методе компоновки, который использует оба этих значения выравнивания.
Первое значение - это значение свойства align-content, второе - значение justify-content.
/* Positional alignment *//* align-content does not take left and right values */place-content:centerstart;place-content:startcenter;place-content:endleft;place-content:flex-startcenter;place-content:flex-endcenter;/* Baseline alignment *//* justify-content does not take baseline values */place-content:baselinecenter;place-content:firstbaselinespace-evenly;place-content:lastbaselineright;/* Distributed alignment */place-content:space-betweenspace-evenly;place-content:space-aroundspace-evenly;place-content:space-evenlystretch;place-content:stretchspace-evenly;/* Global values */place-content:inherit;place-content:initial;place-content:unset;
#container{display:flex;height:240px;width:240px;flex-wrap:wrap;background-color:#8c8c8c;writing-mode:horizontal-tb;/* Can be changed in the live sample */direction:ltr;/* Can be changed in the live sample */place-content:flex-endcenter;/* Can be changed in the live sample */}div>div{border:2pxsolid#8c8c8c;width:50px;background-color:#a0c8ff;}.small{font-size:12px;height:40px;}.large{font-size:14px;height:50px;}