fudu
fudu

Reputation: 752

How to pass user agent stylesheet css

I'm trying to set the background-color to red, but doesn't work because of user agent stylesheet.
I've tried the <!DOCTYPE html> but nothing change.
Please help. Thanks. enter image description here

I've paste the code here https://jsfiddle.net/z1smp8on/1/
The problem is when i click to the 4th option, it will use user agent stylesheet instead of my style
enter image description here

Upvotes: 0

Views: 873

Answers (1)

fudu
fudu

Reputation: 752

Fount it.
All i have to do is use this instead of normal style tag.

background: linear-gradient(red, red)
-webkit-text-fill-color: rgb(48, 48, 48)

Thanks all for your help.

Upvotes: 1

Related Questions