Can MT override Browser CSS ?

This topic contains 3 replies, has 2 voices, and was last updated by  Sebastian 8 months, 4 weeks ago.

Author Posts

sakomicro

Hi!

Here you see how the browsers affect formfields differently:

https://prnt.sc/25adhgo

There is also a Browser CSS value affecting tables.

I tried to find a selector to change that but couldnt.

Do you know if thats possible and how?

Thanks!


Sebastian

Hey,

I think this stackoverflow thread covers what you’re talking about.

input:-webkit-autofill

And with Firefox setting filter: none can help according to this thread.

Cheers!

Sebastian


sakomicro

Thanks!

This one was the only one that worked for me:

input:-webkit-autofill {
-webkit-box-shadow:0 0 0 50px white inset; /* Change the color to your own background color */
}


Sebastian

Oh great, thanks for confirming the solution 🙂

You must login or register to reply to this topic.