Skip to Content

Spacing Utilities

PrefixApplies to
p-*Padding on all sides
px-*Left and right padding
py-*Top and bottom padding
pt-*Top padding
pr-*Right padding
pb-*Bottom padding
pl-*Left padding
m-*Margin on all sides
mx-*Left and right margin
my-*Top and bottom margin
mt-*Top margin
mr-*Right margin
mb-*Bottom margin
ml-*Left margin

Negative margins are supported with a leading -, for example:

Lui.Div("-mt-2")

mx-auto is supported.

Last updated on