From: Nicolas Coden Date: Wed, 4 Jul 2018 20:43:05 +0000 (+0200) Subject: docs: add a notice about required CSS in Media Query doc X-Git-Tag: v6.6.0~3^2~134^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=deee05678;p=thirdparty%2Ffoundation%2Ffoundation-sites.git docs: add a notice about required CSS in Media Query doc Partially resolve https://github.com/zurb/foundation-sites/issues/11374 --- diff --git a/docs/pages/media-queries.md b/docs/pages/media-queries.md index ad2767f9b..43917d315 100644 --- a/docs/pages/media-queries.md +++ b/docs/pages/media-queries.md @@ -187,6 +187,10 @@ This can be used to combine multiple media queries together. The Foundation JavaScript includes a set of helper functions for working with media queries. They're all on the `Foundation.MediaQuery` object. +
+ The MediaQuery utility uses the Sass breakpoints settings and require the Foundation CSS to be imported. For Sass users, you need to include either `foundation-everything()` or `foundation-global-styles()`. +
+ Get the name of the current breakpoint with `MediaQuery.current`. ```js