Chandan Sayed
Chandan Sayed

Reputation: 19

Text color is not working on safari iphone

https://wordpress-518403-1889368.cloudwaysapps.com/register-with-us/ on this website, the color property is not working on iPhone on safari for input and select.

form#wpforms-form-2408 input,
form#wpforms-form-2408 select{
    color: pink!important;
    height: auto;
    min-height: 78px;
    box-sizing: border-box;
    background: red;
    line-height: unset!important;
    position: relative!important;
    padding-top: 0;
    padding-bottom: 0;
-webkit-text-fill-color: red;
-webkit-text-fill-color: #000000;
-webkit-text-fill-color: rgb(100, 200, 0);
}

I have tried this CSS but still, nothing changes. If you please help me.

Upvotes: 1

Views: 5791

Answers (1)

Kosta
Kosta

Reputation: 301

Try with this.

-webkit-text-fill-color: rgba(100, 200, 0, 1); 
-webkit-opacity: 1; 

As described here: Safari CSS Font Color issue

Upvotes: 4

Related Questions