mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
Fixes #14545: Avoid strange formatting on vendor prefixing for placeholder
This commit is contained in:
parent
c20d00cf05
commit
9f5660c3e3
@ -99,9 +99,12 @@
|
|||||||
|
|
||||||
// Placeholder text
|
// Placeholder text
|
||||||
.placeholder(@color: @input-color-placeholder) {
|
.placeholder(@color: @input-color-placeholder) {
|
||||||
&::-moz-placeholder { color: @color; // Firefox
|
// Firefox
|
||||||
opacity: 1; } // See https://github.com/twbs/bootstrap/pull/11526
|
&::-moz-placeholder {
|
||||||
&:-ms-input-placeholder { color: @color; } // Internet Explorer 10+
|
color: @color;
|
||||||
|
opacity: 1; // See https://github.com/twbs/bootstrap/pull/11526
|
||||||
|
}
|
||||||
|
&:-ms-input-placeholder { color: @color; } // Internet Explorer 10+
|
||||||
&::-webkit-input-placeholder { color: @color; } // Safari and Chrome
|
&::-webkit-input-placeholder { color: @color; } // Safari and Chrome
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user