Browse files

Mention null in @if documentation.

Update #374
  • Loading branch information...
1 parent a78bba7 commit 8ca7e2a6dbcd4c61e0d0f8500e6ad74c6aab22bc @nex3 nex3 committed May 11, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 doc-src/SASS_REFERENCE.md
View
3 doc-src/SASS_REFERENCE.md
@@ -1651,11 +1651,12 @@ and so require substantial flexibility.
The `@if` directive takes a SassScript expression
and uses the styles nested beneath it if the expression returns
-anything other than `false`:
+anything other than `false` or `null`:
p {
@if 1 + 1 == 2 { border: 1px solid; }
@if 5 < 3 { border: 2px dotted; }
+ @if null { border: 3px double; }
}
is compiled to:

0 comments on commit 8ca7e2a

Please sign in to comment.