Skip to content

Instantly share code, notes, and snippets.

@deyvisonborges
Created November 19, 2019 20:00
Show Gist options
  • Save deyvisonborges/3871bb46322d2ba2da07ed0e5f59204d to your computer and use it in GitHub Desktop.
Save deyvisonborges/3871bb46322d2ba2da07ed0e5f59204d to your computer and use it in GitHub Desktop.
@tablet: ~"screen and (min-width: 768px)";
@smartphones: ~"screen and (min-width: 320px) and (max-width: 480px)";
@ipads: ~"screen and (min-width: 768px) and (max-width: 1024px)";
// para iPhones
@iphone4: ~"screen and (min-width: 320px) and (max-width: 480px)";
@iphone5: ~"screen and (min-width: 320px) and (max-height: 568px)";
@iphone678: ~"screen and (min-width: 375px) and (max-height: 667px)";
@iphone678more: ~"screen and (min-width: 414px) and (max-height: 736px)";
@iphonex: ~"screen and (min-width: 375px) and (max-height: 812px)";
@iphonexsmaxxr: ~"screen and (min-width: 414px) and (max-height: 896px)";
// para Samsung Galaxy 3, 4 e 5
@samsungs3: ~"screen and (min-width: 320px) and (max-height: 640px)";
@samsungs4: ~"screen and (min-width: 320px) and (max-height: 640px)";
@samsungs5: ~"screen and (min-width: 360px) and (max-height: 640px)";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment