property
Block step align — CSS reference
Experimental draft: Determines which block edges receive an adjustment. Center splits it evenly; start leaves the start edge fixed and adds space at the end, while end does the reverse. Auto has contextual rules. Explicit padding models center for a known size.
Formal Syntax & Structure
css syntaxcss
block-step-align: center;Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>block-step-align</title><style>body{margin:0;background:white}#a{box-sizing:border-box}#a{box-sizing:content-box;block-size:52px;padding-block:10px;block-step-align:center}</style><body><div id="a" style="background:#ccddee">Known size</div><div id="b"></div></body></html>