Update _mixins.scss

This commit is contained in:
Pedro Reis 2014-05-09 10:08:21 +01:00
parent a9756a862e
commit 0712edd872
1 changed files with 16 additions and 18 deletions

View File

@ -10,32 +10,30 @@
} }
@mixin background-size($size) { @mixin background-size($size) {
-webkit-background-size: $size; -webkit-background-size: $size;
-moz-background-size: $size; -moz-background-size: $size;
-o-background-size: $size; -o-background-size: $size;
background-size: $size; background-size: $size;
} }
@mixin font-smoothing { @mixin font-smoothing {
font-smoothing: antialiased;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility; text-rendering: optimizeLegibility;
} }
@mixin placeholder { @mixin placeholder {
::-webkit-input-placeholder { ::-webkit-input-placeholder {
@content; @content;
} }
:-moz-placeholder {
:-moz-placeholder { @content;
@content; }
} ::-moz-placeholder {
@content;
::-moz-placeholder { }
@content; :-ms-input-placeholder {
} @content;
}
:-ms-input-placeholder {
@content;
}
} }