Skip to content

Instantly share code, notes, and snippets.

@ryanberry
Last active August 29, 2015 14:02
Show Gist options
  • Save ryanberry/213195d043351c109b12 to your computer and use it in GitHub Desktop.
Save ryanberry/213195d043351c109b12 to your computer and use it in GitHub Desktop.
Force the media query aggregator to order declarations for correct overrides
// --------------------------------------------------------------------------
// Initialise media query order
// --------------------------------------------------------------------------
@include media($large-desktop-down) { /* */ }
@include media($desktop-down) { /* */ }
@include media($tablet-down) { /* */ }
@include media($mobile-down) { /* */ }
@include media($mobile-up) { /* */ }
@include media($tablet-up) { /* */ }
@include media($desktop-up) { /* */ }
@include media($large-desktop-up) { /* */ }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment