Update _mixins.scss

This commit is contained in:
Pedro Reis 2014-05-09 10:00:52 +01:00
parent dddec1b350
commit 47b7195a34
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;
}
}