Skip to content

Instantly share code, notes, and snippets.

@js2me
Created April 8, 2019 11:27
Show Gist options
  • Save js2me/b08eb6860bce45d3595e4928afd9641a to your computer and use it in GitHub Desktop.
Save js2me/b08eb6860bce45d3595e4928afd9641a to your computer and use it in GitHub Desktop.
Mixin for mystery css property ::placeholder
@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