aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2018-02-24 12:46:23 -0800
committerMark Otto <[email protected]>2018-02-24 12:46:23 -0800
commit9cf3ebbf2bb9cfdbc2763699a14488f21fb080b4 (patch)
tree1f26a3b99b4344781db8fa0b43366c6175f59ec5 /docs
parentf3cec5e7f925ba1cb1700f9de3d728dfc15bccdd (diff)
downloadbootstrap-9cf3ebbf2bb9cfdbc2763699a14488f21fb080b4.tar.xz
bootstrap-9cf3ebbf2bb9cfdbc2763699a14488f21fb080b4.zip
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 0909db730..c4613b04b 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)