Last active
October 23, 2015 22:33
-
-
Save rtivital/7c87c83e0624cab5c936 to your computer and use it in GitHub Desktop.
Миксин для стилизации плэйсхолдера
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 { /* Firefox 18- */ | |
@content; | |
} | |
&::-moz-placeholder { /* Firefox 19+ */ | |
@content; | |
} | |
&:-ms-input-placeholder { | |
@content; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment