/*placeholder 修改默认颜色*/
input::-webkit-input-placeholder{
color:#78c2f7;
}
input::-moz-placeholder{ /* Mozilla Firefox 19+ */
color:#78c2f7;
}
input:-moz-placeholder{ /* Mozilla Firefox 4 to 18 */
color:#78c2f7;
}
input:-ms-input-placeholder{ /* Internet Explorer 10-11 */
color:#78c2f7;
}
/* 修改chrom记住密码输入框填充后默认的颜色*/
input:-webkit-autofill , textarea:-webkit-autofill, select:-webkit-autofill {
-webkit-text-fill-color: #78c2f7 !important; //修改默认的字体颜色
-webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
background-color:#78c2f7; //修改默认的背景颜色
background-image: none;
transition: background-color 50000s ease-in-out 0s;
}
转载于:https://www.cnblogs.com/iwenchao/p/9056321.html