Any hook available to get a value from tailwind css ? #3115
iangregsondev
started this conversation in
General
Replies: 1 comment
-
Something like this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Probably a long shot,, but i was wondering if there any hooks or something similar to be able to get the value of a tailwind css value in code ?
For example, mt-8 , I would like to get the attributes of this in code to be able to use it.
My idea is to use tailwind everywhere i can but I am working with some animation libraries and it would be really beneficial to get the values of a css class attributes i.e margin-top etc
I could hard code those but it would be nice to be able to get these in code
Any idea if this is possible?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions