arozwalak
5/29/2015 - 1:22 PM

SCSS: Mixin placeholder

SCSS: Mixin placeholder

@mixin placeholder() {
    ::-webkit-input-placeholder {
        @content;
    }
    :-moz-placeholder { /* Firefox 18- */
        @content;
    }
    ::-moz-placeholder {  /* Firefox 19+ */
        @content;
    }
    :-ms-input-placeholder {
        @content;
    }
}