Last Updated: February 25, 2016
·
1.909K
· piermariacosina

Stylus mixin for crossbrowser input placeholders color styling

placeholder-color(color)
    &::-webkit-input-placeholder 
       color color !important
    &:-moz-placeholder  /* Firefox 18- */
       color color !important
    &::-moz-placeholder  /* Firefox 19+ */
       color color !important
    &:-ms-input-placeholder  
       color color !important

1 Response
Add your response