Last active
January 18, 2016 18:36
-
-
Save rtivital/60195e45fcbbdf50cf4f to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
| <input type="email" placeholder="example@gmail.com" class="input"> |
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
| // ---- | |
| // libsass (v3.3.2) | |
| // ---- | |
| @mixin placeholder { | |
| &::-webkit-input-placeholder {@content} | |
| &:-moz-placeholder {@content} | |
| &::-moz-placeholder {@content} | |
| &:-ms-input-placeholder {@content} | |
| } | |
| .input { | |
| @include placeholder { | |
| color: red; | |
| } | |
| } | |
| @include placeholder { | |
| color: blue; | |
| } |
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
| .input::-webkit-input-placeholder { | |
| color: red; | |
| } | |
| .input:-moz-placeholder { | |
| color: red; | |
| } | |
| .input::-moz-placeholder { | |
| color: red; | |
| } | |
| .input:-ms-input-placeholder { | |
| color: red; | |
| } | |
| ::-webkit-input-placeholder { | |
| color: blue; | |
| } | |
| :-moz-placeholder { | |
| color: blue; | |
| } | |
| ::-moz-placeholder { | |
| color: blue; | |
| } | |
| :-ms-input-placeholder { | |
| color: blue; | |
| } |
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
| <input type="email" placeholder="example@gmail.com" class="input"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment