Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <otto@github.com>2019-10-19 08:32:29 +0300
committerXhmikosR <xhmikosr@gmail.com>2019-11-01 21:22:37 +0300
commitea1d09c444f9a76f1cdd7052a305f83f360d53ac (patch)
tree36f10777e0b3026a7fe07d9939d69563ae5fe450
parent7bd70e54f2c02e0885b9da5d87a5caac5d963fae (diff)
Doc tweaks.
-rw-r--r--site/docs/4.3/getting-started/theming.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/site/docs/4.3/getting-started/theming.md b/site/docs/4.3/getting-started/theming.md
index ecc5895b13..1a88c44dd9 100644
--- a/site/docs/4.3/getting-started/theming.md
+++ b/site/docs/4.3/getting-started/theming.md
@@ -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: