Created
January 3, 2015 00:05
-
-
Save hectorpalmatellez/8509acd169447bb61031 to your computer and use it in GitHub Desktop.
Mixin para placeholders
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
@mixin placeholder { | |
&::-webkit-input-placeholder {@content} | |
&:-moz-placeholder {@content} | |
&::-moz-placeholder {@content} | |
&:-ms-input-placeholder {@content} | |
} | |
// Se usa así: | |
// input { | |
// @include placeholder { | |
// color: #000; | |
// font: { | |
// family: 'Comic Sans MS'; | |
// } | |
// } | |
// } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment