You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The dark: prefix only works on bg-color, but will not hide div that contains <img/> tag or image itself.
The div will be hidden if it doesn't contain an img tag, or if the div is not the img tag.
The text was updated successfully, but these errors were encountered:
What version of Tailwind CSS are you using?
v2.0.4
What build tool (or framework if it abstracts the build tool) are you using?
Create React App
What version of Node.js are you using?
v14.16.0
What browser are you using?
Firefox 88.0 (64-bit)
What operating system are you using?
Linux manjaro 5.11.16-2-MANJARO #1 SMP PREEMPT Thu Apr 22 09:53:11 UTC 2021 x86_64 GNU/Linux
Reproduction repository
https://github.com/Hy4e/tailwindcss-bug
Describe your issue
The
dark:
prefix only works onbg-color
, but will not hide div that contains<img/>
tag or image itself.The div will be hidden if it doesn't contain an img tag, or if the div is not the img tag.
The text was updated successfully, but these errors were encountered: