Skip to content

Commit

Permalink
Fixes #14545: Avoid strange formatting on vendor prefixing for placeh…
Browse files Browse the repository at this point in the history
…older
  • Loading branch information
mdo committed Sep 7, 2014
1 parent c20d00c commit 9f5660c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions less/mixins/vendor-prefixes.less
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,12 @@

// Placeholder text
.placeholder(@color: @input-color-placeholder) {
&::-moz-placeholder { color: @color; // Firefox
opacity: 1; } // See https://github.com/twbs/bootstrap/pull/11526
&:-ms-input-placeholder { color: @color; } // Internet Explorer 10+
// Firefox
&::-moz-placeholder {
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
}

Expand Down

0 comments on commit 9f5660c

Please sign in to comment.