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
path: root/docs
diff options
context:
space:
mode:
authorMark Otto <markdotto@gmail.com>2018-02-24 23:46:23 +0300
committerMark Otto <markdotto@gmail.com>2018-02-24 23:46:23 +0300
commit9cf3ebbf2bb9cfdbc2763699a14488f21fb080b4 (patch)
tree1f26a3b99b4344781db8fa0b43366c6175f59ec5 /docs
parentf3cec5e7f925ba1cb1700f9de3d728dfc15bccdd (diff)
Fixes #25703
Diffstat (limited to 'docs')
-rw-r--r--docs/4.0/getting-started/theming.md14
1 files changed, 1 insertions, 13 deletions
diff --git a/docs/4.0/getting-started/theming.md b/docs/4.0/getting-started/theming.md
index 0909db7305..c4613b04b6 100644
--- a/docs/4.0/getting-started/theming.md
+++ b/docs/4.0/getting-started/theming.md
@@ -418,16 +418,4 @@ a {
}
{% endhighlight %}
-You can also use our breakpoint variables in your media queries:
-
-{% highlight css %}
-.content-secondary {
- display: none;
-}
-
-@media (min-width(var(--breakpoint-sm))) {
- .content-secondary {
- display: block;
- }
-}
-{% endhighlight %}
+While we include breakpoints in our CSS variables, they unfortunately cannot be used in media queries. These remain in the compiled CSS for backward compatibility given they can be utilized by JavaScript. [Learn more in the spec.](https://www.w3.org/TR/css-variables-1/#using-variables)