mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-15 09:21:24 +08:00
84ca70e8b7
fixed #1
18 lines
357 B
Plaintext
18 lines
357 B
Plaintext
// Compatibility for browsers.
|
|
|
|
// Placeholder text
|
|
.placeholder(@color: @input-placeholder-color) {
|
|
// Firefox
|
|
&::-moz-placeholder {
|
|
opacity: 1; // Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526
|
|
}
|
|
|
|
&::placeholder {
|
|
color: @color;
|
|
}
|
|
|
|
&:placeholder-shown {
|
|
text-overflow: ellipsis;
|
|
}
|
|
}
|