Last active
January 25, 2018 08:54
-
-
Save 6ui11em/4546e5973766e23ab3609027bed59f19 to your computer and use it in GitHub Desktop.
Magento 2 media queries #magento2 #php #less #css #responsive
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Common | |
// (for styles used in both mobile and desktop views) | |
& when (@media-common = true) {} | |
// Mobile | |
// (for all mobile styles.) | |
.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) {} | |
// Tablet | |
.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {} | |
// Desktop | |
.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__l) {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment