mq-scss testing/demo environment

v2.1.4

npm install mq-scss --save

This is a testing/demo site for mq-scss. Full documentation can be found on GitHub and npm.

This site is best viewed on desktop. Resizing the browser window will cause different media queries to activate at different screen sizes.

Breakpoints

Tests

  1. Width
  2. Height
  3. Ratio
  4. Media statements
  5. Plus statements
  6. Or statements

Width

Height

Ratio

A Note on these next three examples. If you set your screen size to exactly 800px width by 400px height, you will see that every single ratio so far returns true. The following 2 examples show a work around for this 1px sour spot issue. FYI, using this technique will make the media query incompatible with Sass media query nesting. not produces unexpected results when nesting media queries in Sass.

Media statements

plus statements

or statements