From 47b7195a349e94f4c4557986a897f2d491b05fe2 Mon Sep 17 00:00:00 2001 From: Pedro Reis Date: Fri, 9 May 2014 10:00:52 +0100 Subject: [PATCH] Update _mixins.scss --- css/_mixins.scss | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/css/_mixins.scss b/css/_mixins.scss index 3fe70be..9a6462d 100755 --- a/css/_mixins.scss +++ b/css/_mixins.scss @@ -7,4 +7,35 @@ @mixin font-size($px) { font-size: $px + px; font-size: #{$px / $base-font-size}rem; -} \ No newline at end of file +} + +@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; + } +}