-
Hello, Previously, it was well documented how to add a prefix via the CDN but with V4, it's not clear what the best approach is. For context, the reason we'd like to do this is:
E.G. Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
wongjn
Jan 23, 2025
Replies: 2 comments 1 reply
-
Use the <script src="https://unpkg.com/@tailwindcss/browser@4"></script>
<style type="text/tailwindcss">
@import "tailwindcss" prefix(tw);
</style> |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
pjhardie
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use the
prefix()
function when@import
ing Tailwind:JSFiddle