Created
April 8, 2019 11:27
-
-
Save js2me/b08eb6860bce45d3595e4928afd9641a to your computer and use it in GitHub Desktop.
Mixin for mystery css property ::placeholder
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, | |
&::-moz-placeholder, | |
&:-ms-input-placeholder, | |
&:-moz-placeholder, | |
&::placeholder { | |
@content; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment