Replies: 1 comment 2 replies
-
This is all sorted, just use the <a tw="after:(content absolute)">Link</a> |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It is quote common practice to add a
::after
pseudo element withcontent: ''
andposition: absolute
and additional styling.For example when you want a customized text underline on a link.
I know there is
after:
andabsolute
but is there also something likeafter:content-empty
or can it be added to twin?I haven't seen this in Tailwind, so this might not be the perfect place to discuss this.
Workarounds are:
Or create a tailwind util.
Beta Was this translation helpful? Give feedback.
All reactions