How do I stop Chrome from yellowing my site's input boxes?

前端 未结 13 1564
逝去的感伤
逝去的感伤 2020-11-28 02:14

Among other text and visual aids on a form submission, post-validation, I\'m coloring my input boxes red to signify the interactive area needing attention.

On Chrome

13条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-28 02:58

    Yes, it would be a major headache, which in my opinion isnt worth the return. Maybe you could tweak your UI strategy a bit, and instead of coloring the box red, you could color the borders red, or put a small red tape beside it (like the gmails "Loading" tape) which fades away when the box is in focus.

提交回复
热议问题