Modify the default yellow background of the input box

WBOY
Release: 2016-11-30 23:59:32
Original
1598 people have browsed it
<span style="color: #800000">input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill </span>{<span style="color: #ff0000">
    -webkit-box-shadow</span>:<span style="color: #0000ff"> 0 0 0px 1000px white inset !important</span>;<span style="color: #ff0000">
    background-color</span>:<span style="color: #0000ff"> rgb(0, 0, 0) !important</span>;<span style="color: #ff0000">
    background-image</span>:<span style="color: #0000ff"> none !important</span>;<span style="color: #ff0000">
    color</span>:<span style="color: #0000ff"> rgb(0, 0, 0) !important</span>;<span style="color: #ff0000">
    -webkit-tap-highlight-color</span>:<span style="color: #0000ff">rgba(0,0,0,0) !important</span>;
}
Copy after login

Under normal circumstances, just write this code without writing it! important, if the project cannot take effect, you need to add it! important.

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template