Skip to content

Instantly share code, notes, and snippets.

@guyroutledge
Created October 18, 2013 13:51
Show Gist options
  • Save guyroutledge/7041847 to your computer and use it in GitHub Desktop.
Save guyroutledge/7041847 to your computer and use it in GitHub Desktop.
A mixin for styling placeholder text
@mixin placeholder() {
::-webkit-input-placeholder {
@content;
}
::-moz-placeholder {
@content;
}
:-moz-placeholder {
@content;
}
:-ms-input-placeholder {
@content;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment