Skip to content

Commit

Permalink
Only unquote strings
Browse files Browse the repository at this point in the history
  • Loading branch information
chriseppstein committed Dec 1, 2010
1 parent 247d6dc commit f209524
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -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) {
$size: unquote($size);
@if type-of($size) == string {
$size: unquote($size);
}
@include experimental(background-size, $size, -moz, -webkit, -o, not -ms, not -khtml);
}

0 comments on commit f209524

Please sign in to comment.