Created
March 14, 2015 22:42
-
-
Save jasonkmccoy/8e102e600be74435b836 to your computer and use it in GitHub Desktop.
Input placeholder text mixin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Placeholder Mixin | |
*========================================================================== | |
=placeholder-color($color) | |
&.placeholder | |
color: $color | |
&:-moz-placeholder | |
color: $color | |
&::-webkit-input-placeholder | |
color: $color | |
&:-ms-input-placeholder | |
color: $color | |
/* Usage | |
input | |
+placeholder-color(#FA4A4A) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/web-design-weekly/sass-mixins/blob/master/mixins.scss