mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-16 09:39:10 +08:00
14 lines
281 B
Plaintext
14 lines
281 B
Plaintext
// Compatibility for browsers.
|
|
|
|
// Placeholder text
|
|
.placeholder(@color: @input-placeholder-color) {
|
|
&::placeholder {
|
|
color: @color;
|
|
user-select: none; // https://github.com/ant-design/ant-design/pull/32639
|
|
}
|
|
|
|
&:placeholder-shown {
|
|
text-overflow: ellipsis;
|
|
}
|
|
}
|