tailwindcss jit cdn

<script src="https://unpkg.com/tailwindcss-jit-cdn"></script>

Including this link in your page will allow you to use the TailwindCSS JIT engine via a CDN, you can then add code like this:

<div class="p-16">
    <div class="h-[120px] w-[120px] rounded-full border bg-red-400 hover:bg-blue-400 cursor-pointer"></div>
</div>

And it will work with custom attributes, variants and more. Be sure to check out the Beyond Code blog about the JIT CDN here https://beyondco.de/blog/tailwind-jit-compiler-via-cdn.

BETA Snippet explanation automatically generated by OpenAI:

No explanation generated yet.

Snippet By Tony Lea

·

Created June 21st, 2021

·

Report Snippet