Created
July 25, 2014 22:21
-
-
Save kareemkibue/ce7bf0906593774bb8e2 to your computer and use it in GitHub Desktop.
HTML5 Placeholder Styling SASS Mixin
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 placeholder{ | |
::-webkit-input-placeholder{ @content; } | |
:-moz-placeholder{ @content; } | |
::-moz-placeholder{ @content; } | |
:-ms-input-placeholder{ @content; } | |
} | |
/*use this mixin*/ | |
@include placeholder{ | |
/* STYLES e.g color, font, text-shadow */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment