使用样式占位符时,为什么会这样?
#search::-webkit-input-placeholder {
color: red;
}
#search:-moz-placeholder {
color: red;
}
#search::-moz-placeholder {
color: red;
}
#search:-ms-input-placeholder {
color: red;
}
虽然这不是?
#search::-webkit-input-placeholder,
#search:-moz-placeholder,
#search::-moz-placeholder,
#search:-ms-input-placeholder {
color: red;
}
难道第二个片段只是将它们组合在一起吗?这有特殊情况吗?