mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-16 01:41:15 +08:00
19 lines
432 B
Plaintext
19 lines
432 B
Plaintext
|
// Compatibility for browsers.
|
||
|
|
||
|
// Placeholder text
|
||
|
.placeholder(@color: @input-placeholder-color) {
|
||
|
// Firefox
|
||
|
&::-moz-placeholder {
|
||
|
color: @color;
|
||
|
opacity: 1; // Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526
|
||
|
}
|
||
|
// Internet Explorer 10+
|
||
|
&:-ms-input-placeholder {
|
||
|
color: @color;
|
||
|
}
|
||
|
// Safari and Chrome
|
||
|
&::-webkit-input-placeholder {
|
||
|
color: @color;
|
||
|
}
|
||
|
}
|