Modify the placeholder font color style and compatibility handling in input-record

/*WebKit browsers*/
input::-webkit-input-placeholder {
    
    
  color: #666 !important;
}
/*Mozilla Firefox 4 to 18*/
input:-moz-placeholder {
    
    
  color: #666 !important;
}
/*Mozilla Firefox 19+*/
input::-moz-placeholder {
    
    
  color: #666 !important;
}
/*Internet Explorer 10+*/
input:-ms-input-placeholder {
    
    
  color: #666 !important;
}

Reference: https://www.jianshu.com/p/8f17298d7d2f

Guess you like

Origin blog.csdn.net/m0_46442996/article/details/109620137