mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-14 18:42:30 +03:00
fixes .placeholder to work as a "grouped selector"
adding the `&` combinator to `.placeholder` makes it work for the global case (in forms.less) as well as within `.navbar-search .search-query` the result can be seen in the generated bootstrap.css, which include the -ms vendor extension.
This commit is contained in:
+3
-3
@@ -81,13 +81,13 @@
|
||||
// Placeholder text
|
||||
// -------------------------
|
||||
.placeholder(@color: @placeholderText) {
|
||||
:-moz-placeholder {
|
||||
&:-moz-placeholder {
|
||||
color: @color;
|
||||
}
|
||||
:-ms-input-placeholder {
|
||||
&:-ms-input-placeholder {
|
||||
color: @color;
|
||||
}
|
||||
::-webkit-input-placeholder {
|
||||
&::-webkit-input-placeholder {
|
||||
color: @color;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user