Margin
Control the outer spacing of an element.
margin creates space around an element, outside of any defined borders.
Example
Loading Preview…
Quick Notes
marginrequires all fourRectfields:left,right,top, andbottom. Use scalar properties such asmarginBottomto set individual edges.- Edges accept numbers, percentage strings, or
"auto". Auto margins absorb available space according to the layout mode; for example, left and right auto margins can center a fixed-width block horizontally.