-ve margin with after: not working #8498
Unanswered
sparkstriker
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to add a -ve margin on ::after of a span
I am able to make it work with
after:mt-[-4px]
, but arbitrary values are not preferred in my project.I tried the following syntax but didn't work
after:-mt-1
-after:mt-1
Is this an issue in tailwind?
If not can someone help me on how to use -ve
mt-1
withafter:
Beta Was this translation helpful? Give feedback.
All reactions