Created
April 22, 2016 08:34
-
-
Save maxxscho/18439bfba846d8d20ffdba5e5afe2ce3 to your computer and use it in GitHub Desktop.
Mixin for styling the placeholder attribute on form fields
This file contains hidden or 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
// Usage | |
// @include placeholder { | |
// font-style:italic; | |
// color: white; | |
// font-weight:100; | |
// } | |
@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