Skip to content

Instantly share code, notes, and snippets.

@jackw
Created November 7, 2013 12:46
Show Gist options
  • Save jackw/7354046 to your computer and use it in GitHub Desktop.
Save jackw/7354046 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// 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;}
/*
---- 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