Place Content
Set item justification & alignment simultaneously.
Widely available
This feature is well established and works across many devices and browser versions.
Chrome
Edge
Firefox
Safari
pc-bsplace-content: baseline start;pc-cplace-content: center;pc-eplace-content: end;pc-splace-content: start;pc-saplace-content: space-around;pc-sbplace-content: space-between;pc-seplace-content: space-evenly;pc-ssplace-content: stretch stretch;Responsiveness
Use breakpoint prefixes to target different screen sizes. Styles apply from the breakpoint & up.
Target viewport sizes with breakpoint prefixes.
sm:pc-(value)Small≥640px
md:pc-(value)Medium≥768px
lg:pc-(value)Large≥1024px
xxl:pc-(value)Extra Large≥1536px
Hover State
Apply styles conditionally on hover using the h: prefix.
Add the h: prefix to apply styles only when the user hovers over the element.
Syntax:
h:pc-(value)