Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I customize the margin value #892

Open
laterdayi opened this issue Feb 7, 2023 · 1 comment
Open

How do I customize the margin value #892

laterdayi opened this issue Feb 7, 2023 · 1 comment

Comments

@laterdayi
Copy link

How do I customize the margin value

The default mr mt ml mb is 1em,How to set mr ml mt mb Custom 18px or 20px

How to do it margin & padding

my: margin : 20px 0
mx: margin : 0 20px
ml : margin-left: 20px
mt: margin-top: 20px

@Simon-He95
Copy link

Hi @laterdayi
You can use class="m-[20px_0]" or class="mt-20px mb-20px"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants