lycorisradiata

修改input默认placeholder样式
修改input默认placeholder样式,让你的输入框更好看 input::input-...
扫描右侧二维码阅读全文
24
2018/10

修改input默认placeholder样式

修改input默认placeholder样式,让你的输入框更好看

            input::input-placeholder {
                color: #fb4747;
            }
             
            input::-webkit-input-placeholder {
                color: #fb4747; /* WebKit browsers */
            }
             
            input:-ms-input-placeholder {
                color: #fb4747; /* Internet Explorer 10+ */
            }
             
            input:-moz-placeholder {
                color: #fb4747; /* Mozilla Firefox 4 to 18 */
            }
             
            input::-moz-placeholder {
                color: #fb4747; /* Mozilla Firefox 19+ */
            }
             
            input:focus::-webkit-input-placeholder {
                color: rgba(0, 0, 0, 0);
            }
             
            input:focus::-moz-input-placeholder {
                color: rgba(0, 0, 0, 0);
            }
Last modification:November 30th, 2018 at 04:00 pm
If you think my article is useful to you, please feel free to appreciate

Leave a Comment