Skip to content

Different color when disabled #11792

Answered by wongjn
eduardodallmann asked this question in Help
Discussion options

You must be logged in to vote

At least in Chrome, disabled <select> elements have a default opacity of 0.7, whereas disabled <input> elements have an unchanged opacity of 1.

Consider explicitly applying opacity: 1 to the <select> element via opacity-100 or applying opacity: 0.7 to the <input> via opacity-70: https://play.tailwindcss.com/FrKf3CXEjd

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@OsalexRod
Comment options

@ryanmortier
Comment options

Answer selected by eduardodallmann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
4 participants