ant-design/site/theme/style/mixins/compatibility.less

14 lines
281 B
Plaintext
Raw Normal View History

2015-06-09 15:21:44 +08:00
// 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
}
2019-07-22 19:21:33 +08:00
&:placeholder-shown {
text-overflow: ellipsis;
}
}