| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
The aleutcss placeholder module contains a useful mixin for changing the text-color on placeholder-text on input-fields.
$ npm install --save-dev aleut.tools-placeholder
Basic usage of the mixins in a SCSS-file:
.foo {
@include placeholder(#f2f2f2);
}This yields:
.foo::-webkit-input-placeholder {
/* WebKit browsers */
color: #f2f2f2;
}
.foo:-moz-placeholder {
/* Mozilla Firefox 4 to 18 */
color: #f2f2f2;
}
.foo::-moz-placeholder {
/* Mozilla Firefox 19+ */
color: #f2f2f2;
}
.foo:-ms-input-placeholder {
/* Internet Explorer 10+ */
color: #f2f2f2;
}| Back | FazBrowse Home | New Git URL |