Skip to content

Commit ea1d09c

Browse files
mdoXhmikosR
authored andcommitted
Doc tweaks.
1 parent 7bd70e5 commit ea1d09c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/docs/4.3/getting-started/theming.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -227,9 +227,9 @@ You can also specify a base color with our color map functions:
227227

228228
We use the `escape-svg` function to escape the `<`, `>` and `#` characters for SVG background images. These characters need to be escaped to properly render the background images in IE.
229229

230-
## Add and Subtract function
230+
## Add and Subtract functions
231231

232-
We use the `add` and `subtract` functions instead of the CSS `calc` function. The primary purpose of these functions is to avoid errors when "unitless" 0 is given to the `calc` expression.
232+
We use the `add` and `subtract` functions to wrap the CSS `calc` function. The primary purpose of these functions is to avoid errors when a "unitless" `0` value is passed into a `calc` expression. Expressions like `calc(10px - 0)` will return an error in all browsers, despite being mathematically correct.
233233

234234
Example where the calc is valid:
235235

0 commit comments

Comments
 (0)