Replies: 1 comment
-
This bit me when I realized |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, thing I learned today is that the
:read-only
pseudo class targets all elements that is not editable by the user. That includesdiv
s,disabled
elements etc.My idea is to change the behavior of the existing
read-only:
variant to targets only elements with the[readonly]
attribute (not:read-only
pseudo class). I think such behavior will be more intuitive. Technically it is a breaking change, but I think it's worth considering.Links:
https://play.tailwindcss.com/cbk8y7kCX4
Beta Was this translation helpful? Give feedback.
All reactions