Margin
Compatibility
Nomenclature
- -{t} Supports values from theme
- -{a} Support arbitrary values
Class | Native | Web |
---|---|---|
m-{t} | ✅ | ✅ |
m-{a} | ✅ | ✅ |
mx-{t} | ✅ | ✅ |
mx-{a} | ✅ | ✅ |
my-{t} | ✅ | ✅ |
my-{a} | ✅ | ✅ |
mt-{t} | ✅ | ✅ |
mt-{a} | ✅ | ✅ |
mr-{t} | ✅ | ✅ |
mr-{a} | ✅ | ✅ |
ml-{t} | ✅ | ✅ |
ml-{a} | ✅ | ✅ |
mb-{t} | ✅ | ✅ |
mb-{a} | ✅ | ✅ |
m-auto | ✅ | ✅ |
my-auto | ✅ | ✅ |
mx-auto | ✅ | ✅ |
mt-auto | ✅ | ✅ |
mr-auto | ✅ | ✅ |
ml-auto | ✅ | ✅ |
mb-auto | ✅ | ✅ |
Usage
Please refer to the official documentation of tailwind .