Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Media Queries Variables for Less
Variables
@sm-up: ~'(min-width: @{screen-sm})';
@md-up: ~'(min-width: @{screen-md})';
@lg-up: ~'(min-width: @{screen-lg})';
@xl-up: ~'(min-width: 1900px)';
@retina: ~'(-webkit-min-device-pixel-ratio: 1.5),only screen and (min--moz-device-pixel-ratio: 1.5),only screen and (min-resolution: 240dpi)';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment