How to stop user agent stylesheets from overriding my css

前端 未结 5 2021
耶瑟儿~
耶瑟儿~ 2020-12-28 12:52

I\'m trying to set cursor: pointer on a dom element, but the input isn\'t taking it (I am not seeing a pointer cursor when I hover over the checkbox). In chrome, I see that

5条回答
  •  盖世英雄少女心
    2020-12-28 13:27

    It's been reported as Chrome's bug here: User Agent Style shows as being overridden, but when the page renders, it's not

    This behaviour is seen in Chrome only (it is not in Firefox, I didn't test Edge or others). Chrome applies a pale yellow background (#E8F0FE)

    Today I got the same issue, tested with no such pale-effect on Safari and Brave... Not sure why the so-long-waiting (3 years and counting) from Chrome to come up with a fix.

提交回复
热议问题