center
Intrinsic horizontal centering with a readable measure.
Example
centered, capped at --size-sm
Basic usage
<m-center max="lg" gutter="md">…</m-center>API
Attributes
| Name | Type/Values | Default | Description |
|---|---|---|---|
max | xs · sm · md · lg · xl | --measure (60ch) | Caps the centered content's inline size. |
gutter | sm · md · lg | none | Adds edge padding. |