Skip to content

Commit

Permalink
Fixes #25703
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Feb 24, 2018
1 parent f3cec5e commit 9cf3ebb
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions docs/4.0/getting-started/theming.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 9cf3ebb

Please sign in to comment.