Created
August 15, 2014 14:22
-
-
Save erikpantzar/b6f988d114905f6b7cd8 to your computer and use it in GitHub Desktop.
sass mixin for input::placeholder style
This file contains 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
// Mixin to fix all prefixed versions to style placeholder :) | |
// source https://github.com/michaelsacca/Compass-Placeholder-Text-Mixin | |
@mixin input-placeholder { | |
&.placeholder { @content; } | |
&:-moz-placeholder { @content; } | |
&::-moz-placeholder { @content; } | |
&:-ms-input-placeholder { @content; } | |
&::-webkit-input-placeholder { @content; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment