Created
November 14, 2013 03:48
-
-
Save alienresident/7461027 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains 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
// ---- | |
// Sass (v3.3.0.rc.4) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
// &#{&} | |
// http://sassmeister.com/gist/7461027 | |
$primary: bada55; | |
@mixin placeholder() { | |
$form_placeholder_prefixes: ('::-webkit-input-placeholder', ':-moz-placeholder', '::-moz-placeholder', ':-ms-input-placeholder', '::input-placeholder', '::placeholder' ); | |
@each $prefix in $form_placeholder_prefixes { | |
&[placeholder]#{$prefix} { | |
color: #333; | |
font-family: Arial; | |
} | |
} | |
} | |
//@include placeholder('input[type="search"]'); | |
input[type="password"] { | |
@include placeholder(); | |
} |
This file contains 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="password"][placeholder]::-webkit-input-placeholder { | |
color: #333; | |
font-family: Arial; | |
} | |
input[type="password"][placeholder]:-moz-placeholder { | |
color: #333; | |
font-family: Arial; | |
} | |
input[type="password"][placeholder]::-moz-placeholder { | |
color: #333; | |
font-family: Arial; | |
} | |
input[type="password"][placeholder]:-ms-input-placeholder { | |
color: #333; | |
font-family: Arial; | |
} | |
input[type="password"][placeholder]::input-placeholder { | |
color: #333; | |
font-family: Arial; | |
} | |
input[type="password"][placeholder]::placeholder { | |
color: #333; | |
font-family: Arial; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment