diff options
| author | Mark Otto <[email protected]> | 2019-10-19 08:32:29 +0300 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2019-10-31 08:30:53 +0200 |
| commit | 9e54d8e1208fbb292d48b879b66d19a404bba538 (patch) | |
| tree | 9005cc5dbb4b8789dec8065d5dd7f7263e208b73 | |
| parent | 32b932c959818a2d7a6651ecc57ad88bc8e0d0ea (diff) | |
| download | bootstrap-9e54d8e1208fbb292d48b879b66d19a404bba538.tar.xz bootstrap-9e54d8e1208fbb292d48b879b66d19a404bba538.zip | |
Doc tweaks.
| -rw-r--r-- | site/content/docs/4.3/getting-started/theming.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/site/content/docs/4.3/getting-started/theming.md b/site/content/docs/4.3/getting-started/theming.md index 3fd367efd..0c5ad09ab 100644 --- a/site/content/docs/4.3/getting-started/theming.md +++ b/site/content/docs/4.3/getting-started/theming.md @@ -215,9 +215,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: |
