In IE specific stylesheet set $rem-to-px: 16px; and then in your ordinary stylesheets use rem(X) - this will produce Xrem for normal browsers and (X*16)px for IEold.
See also: http://jakearchibald.github.com/sass-ie/
In IE specific stylesheet set $rem-to-px: 16px; and then in your ordinary stylesheets use rem(X) - this will produce Xrem for normal browsers and (X*16)px for IEold.
See also: http://jakearchibald.github.com/sass-ie/
$rem-to-px: false !default; | |
@function rem($val) { | |
@if $rem-to-px { | |
@return $val*$rem-to-px; | |
} @else { | |
@return $val*1rem; | |
} | |
} |