/*改變textarea的placeholder預設顔色*/
textarea::-webkit-input-placeholder {
color: @background_gray;
}
textarea:-moz-placeholder {
color: @background_gray;
}
textarea::-moz-placeholder {
color: @background_gray;
}
textarea:-ms-input-placeholder {
color: @background_gray;
}
複制
參考網址:https://segmentfault.com/q/1010000000397925