Why canvas tag not adopt tailwind css ? #3192
Answered
by
MathGeniusJodie
magic-thomas
asked this question in
Help
-
Hi . I tried tailwindcss in canvas tag. <canvas id="myChart" class="bg-red-300 w-96 h-48" ></canvas> but it is not working . it is intended? . should I use pure css for canvas tag ? Is there way to code in base layer? |
Beta Was this translation helpful? Give feedback.
Answered by
MathGeniusJodie
Dec 25, 2020
Replies: 1 comment
-
works for me |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
adamwathan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
works for me
https://play.tailwindcss.com/tuOzmr6z6E