Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
@mixin placeholder-color($color){
&.placeholder{
color: $color
}
&:-moz-placeholder{
color: $color
}
&::-webkit-input-placeholder{
color: $color
}
&:-ms-input-placeholder{
color: $color
}
}
/* Usage */
input{
@include placeholder-color(#FA4A4A)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment