Permalink
Browse files

Parentheses examples makes more sense

In the old example, parentheses had no impact because multiplication should have precedence over addition.

Thanks to @inseo for the suggestion.
  • Loading branch information...
kaelig committed May 26, 2013
1 parent 2b0bc0b commit 6dfdc27054e7baa413e932378ed9da45712f8cb5
Showing with 2 additions and 2 deletions.
  1. +2 −2 doc-src/SASS_REFERENCE.md
@@ -969,13 +969,13 @@ Instead, they're manipulated using the
Parentheses can be used to affect the order of operations:
p {
- width: 1em + (2em * 3);
+ width: (1em + 2em) * 3;
}
is compiled to:
p {
- width: 7em; }
+ width: 9em; }
### Functions

0 comments on commit 6dfdc27

Please sign in to comment.