Robert Lepen
Robert Lepen

Reputation: 79

How to change background color on disabled textbox

I am trying to change background color of disabled text-box, but mobile version looks a bit odd, any idea what property is doing that color? See first image, I would like to have result on mobile version as is showing on second image.

this is how it looks like on mobile version: enter image description here

And here is how it looks like on desctop version: enter image description here code:

input[disabled] { 
    color: #439d8e; 
    font-family: Roboto;
    background: white;
}

Upvotes: 0

Views: 782

Answers (1)

rozalex
rozalex

Reputation: 330

Something like this worked for me in the past:

.item {
    -webkit-text-fill-color: white; 
    -webkit-opacity: 1; 
    background: white;
}

Upvotes: 1

Related Questions