ant-design-blazor/components/style/mixins/compatibility.less

18 lines
357 B
Plaintext
Raw Normal View History

2019-12-05 22:58:05 +08:00
// 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 {
2019-12-05 22:58:05 +08:00
color: @color;
}
&:placeholder-shown {
text-overflow: ellipsis;
}
}