SASS Mixin for input placeholder

@mixin placeholder { &:-webkit-input-placeholder {@content} &:-moz-placeholder {@content} &::-moz-placeholder {@content} &:-ms-input-placeholder {@content} } SASS Mixin for input placeholder You can use it for styling Input placeholder. You can use like below input { @include placeholder { color:#333; font-size:16px; } }
SASS Mixin for input placeholder
You can use it for styling Input placeholder. You can use like below

input {
@include placeholder {
color:#333;
font-size:16px;
}
}

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.