Mixin to style placeholder text cross browser.
@include placeholder { @content }
And so, in SCSS:
input[type=text] { color: #000; @include placeholder { color: #ccc; } }
input[type=text] { color: #000; } input[type=text]::-webkit-input-placeholder { color: #ccc; } input[type=text]:-moz-placeholder { color: #ccc; } input[type=text]::-moz-placeholder { color: #ccc; } input[type=text]:-ms-input-placeholder { color: #ccc; }