Created
November 7, 2013 12:46
-
-
Save jackw/7354046 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.1) | |
// Compass (v0.13.alpha.10) | |
// ---- | |
/* | |
---- using a mixin --------------------------------- | |
*/ | |
@mixin placeholder { | |
&::-webkit-input-placeholder { | |
@content; | |
} | |
&:-moz-placeholder { | |
@content; | |
} | |
&::-moz-placeholder { | |
@content; | |
} | |
&:-ms-input-placeholder { | |
@content; | |
} | |
} | |
#wrap .domain-search-wrapper { | |
@include placeholder { | |
color:#a0a0a0; | |
font-family:sans-serif; | |
font-weight:normal; | |
font-style:normal; | |
letter-spacing:-1px; | |
} | |
} | |
/* | |
---- using a loop --------------------------------- | |
*/ | |
$placeholders: ":-webkit-input-placeholder", "-moz-placeholder", ":-moz-placeholder", "-ms-input-placeholder"; | |
@each $placeholder in $placeholders { | |
#wrap .domain-search-wrapper input:#{$placeholder} { | |
color:#a0a0a0; | |
font-family:sans-serif; | |
font-weight:normal; | |
font-style:normal; | |
letter-spacing:-1px; | |
} | |
} | |
/* | |
---- standard css ---------------------------------- | |
*/ | |
#wrap .domain-search-wrapper input::-webkit-input-placeholder { color:#a0a0a0; font-family:san-serif; font-weight:normal; font-style:normal; letter-spacing:-1px;} | |
#wrap .domain-search-wrapper input:-moz-placeholder { color:#a0a0a0; font-family:san-serif; font-weight:normal; font-style:normal; letter-spacing:-1px;} | |
#wrap .domain-search-wrapper input:-ms-input-placeholder { color: #a0a0a0; font-family:san-serif; font-weight:normal; font-style:normal; letter-spacing:-1px;} |
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
/* | |
---- using a mixin --------------------------------- | |
*/ | |
#wrap .domain-search-wrapper::-webkit-input-placeholder { | |
color: #a0a0a0; | |
font-family: sans-serif; | |
font-weight: normal; | |
font-style: normal; | |
letter-spacing: -1px; | |
} | |
#wrap .domain-search-wrapper:-moz-placeholder { | |
color: #a0a0a0; | |
font-family: sans-serif; | |
font-weight: normal; | |
font-style: normal; | |
letter-spacing: -1px; | |
} | |
#wrap .domain-search-wrapper::-moz-placeholder { | |
color: #a0a0a0; | |
font-family: sans-serif; | |
font-weight: normal; | |
font-style: normal; | |
letter-spacing: -1px; | |
} | |
#wrap .domain-search-wrapper:-ms-input-placeholder { | |
color: #a0a0a0; | |
font-family: sans-serif; | |
font-weight: normal; | |
font-style: normal; | |
letter-spacing: -1px; | |
} | |
/* | |
---- using a loop --------------------------------- | |
*/ | |
#wrap .domain-search-wrapper input::-webkit-input-placeholder { | |
color: #a0a0a0; | |
font-family: sans-serif; | |
font-weight: normal; | |
font-style: normal; | |
letter-spacing: -1px; | |
} | |
#wrap .domain-search-wrapper input:-moz-placeholder { | |
color: #a0a0a0; | |
font-family: sans-serif; | |
font-weight: normal; | |
font-style: normal; | |
letter-spacing: -1px; | |
} | |
#wrap .domain-search-wrapper input::-moz-placeholder { | |
color: #a0a0a0; | |
font-family: sans-serif; | |
font-weight: normal; | |
font-style: normal; | |
letter-spacing: -1px; | |
} | |
#wrap .domain-search-wrapper input:-ms-input-placeholder { | |
color: #a0a0a0; | |
font-family: sans-serif; | |
font-weight: normal; | |
font-style: normal; | |
letter-spacing: -1px; | |
} | |
/* | |
---- standard css ---------------------------------- | |
*/ | |
#wrap .domain-search-wrapper input::-webkit-input-placeholder { | |
color: #a0a0a0; | |
font-family: san-serif; | |
font-weight: normal; | |
font-style: normal; | |
letter-spacing: -1px; | |
} | |
#wrap .domain-search-wrapper input:-moz-placeholder { | |
color: #a0a0a0; | |
font-family: san-serif; | |
font-weight: normal; | |
font-style: normal; | |
letter-spacing: -1px; | |
} | |
#wrap .domain-search-wrapper input:-ms-input-placeholder { | |
color: #a0a0a0; | |
font-family: san-serif; | |
font-weight: normal; | |
font-style: normal; | |
letter-spacing: -1px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment