Where utility functions are called with a single negative numeric or length argument, the minus sign may be written either before the argument or before the utility function call. The preferred syntax is to place the minus sign before the utility function call.
When using multiple arguments, the minus sign must be placed before the argument itself.
Turbo CSS expression | JavaScript analog |
---|---|
-foo-1
|
foo(-1)
|
foo--1
|
foo(-1)
|
foo--1--2
|
foo(-1, -2)
|