Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

disabled text color tailwind

// tailwind.config.js
module.exports = {
  // ...
  variants: {
    extend: {
      textColor: ['disabled'],
    }
  },
}

// in html
<input type="text" class="disabled:text-gray-200">
 
PREVIOUS NEXT
Tagged: #disabled #text #color #tailwind
ADD COMMENT
Topic
Name
7+9 =