Skip to content

Instantly share code, notes, and snippets.

@leogono
Created April 30, 2015 06:27
Show Gist options
  • Save leogono/60acc724cd2f236ec190 to your computer and use it in GitHub Desktop.
Save leogono/60acc724cd2f236ec190 to your computer and use it in GitHub Desktop.
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