Anvil uses partials amounts of a base-8 spacing scale. A half value of 4px
is also included. The scale starts at 8px
, scaling up to 128px
.
Anvil provides utility classes and variables for common spacing needs.
Utility classes for margins and paddings exist. The format is .p-<scale>
for padding, and .m-<scale>
for margin.