Only unquote strings
This commit is contained in:
parent
247d6dc8e6
commit
f209524228
@ -9,6 +9,8 @@ $default-background-size: 100% auto !default;
|
||||
// * percentages are relative to the background-origin (default = padding-box)
|
||||
// * mixin defaults to: `$default-background-size`
|
||||
@mixin background-size($size: $default-background-size) {
|
||||
@if type-of($size) == string {
|
||||
$size: unquote($size);
|
||||
}
|
||||
@include experimental(background-size, $size, -moz, -webkit, -o, not -ms, not -khtml);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user