TailwindCSS: disabled variant not working
问题 I am trying to use disabled variant in tailiwnd, but it does not seem to work. I do not know what to do. I want to change button apperance if it is disabled, I have read the documentation and it says 'disabled' variant in not enabled by default. So I modify my tailwind.config.js and now it looks like this: module.exports = { purge: [], theme: { extend: {}, }, variants: { extend: { opacity: ['disabled'] } }, plugins: [], } I have this code in my page, both buttons look the same: <div class=