Merge pull request #3 from pdcreis/patch-4

Update _mixins.scss
This commit is contained in:
Mike Francis 2014-05-09 10:02:47 +01:00
commit a9756a862e
1 changed files with 32 additions and 1 deletions

View File

@ -7,4 +7,35 @@
@mixin font-size($px) {
font-size: $px + px;
font-size: #{$px / $base-font-size}rem;
}
}
@mixin background-size($size) {
-webkit-background-size: $size;
-moz-background-size: $size;
-o-background-size: $size;
background-size: $size;
}
@mixin font-smoothing {
-webkit-font-smoothing: antialiased;
font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}
@mixin placeholder {
::-webkit-input-placeholder {
@content;
}
:-moz-placeholder {
@content;
}
::-moz-placeholder {
@content;
}
:-ms-input-placeholder {
@content;
}
}