]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Doc tweaks.
authorMark Otto <otto@github.com>
Sat, 19 Oct 2019 05:32:29 +0000 (08:32 +0300)
committerXhmikosR <xhmikosr@gmail.com>
Fri, 1 Nov 2019 18:22:37 +0000 (20:22 +0200)
site/docs/4.3/getting-started/theming.md

index ecc5895b13b0aec9f9332bc1f88db63785fedfa6..1a88c44dd9299f8ec2ddaba723dc15c79bb6525e 100644 (file)
@@ -227,9 +227,9 @@ You can also specify a base color with our color map functions:
 
 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.
 
-## Add and Subtract function
+## Add and Subtract functions
 
-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.
+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.
 
 Example where the calc is valid: