How to change the font color of locked input in Firefox

When I turn off input elements, the text takes on the font color: #000000 in Firefox. This does not happen in IE. Please check the page below in IE and Firefox. Let me know how to make it gray, like in IE.
test

+6
html css firefox
source share
2 answers

In different browsers, the style is disabled in different ways. Here's how you can control the style of disabled items in Firefox.

 [disabled] { color:#ff0000; background-color:#00ff00; } 
+6
source share

Change it, change the color, turn it off again. It only takes 0.001 seconds.

-one
source share

All Articles