commit
a9756a862e
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue