Margin top not responsive #2264
Replies: 2 comments
-
Hi @IgorDePaula 👋 This should absolutely work! A note: you don't have to specify In your code example, the My only guess for it not to work: are you using these classes inside a parent element with a When you use spacing utilities, they take precedence over the individual child margin classes because of specificity. If that's not the case, could you please share a bit more of your HTML code, so it's easier to see what's going wrong? |
Beta Was this translation helpful? Give feedback.
-
I fix with removing margin-top from this compoent, and add margin-bottom on component side. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I using tailwindcss 1.6.2. and I write my code with
but on screens large and extralarge the margin-top continue with margin-top 2, and not with 0.
What do I wrote wrong?
Beta Was this translation helpful? Give feedback.
All reactions