UNPKG

breakpoint-sass

Version:

Really Simple Media Queries with Sass

52 lines (49 loc) 1.64 kB
/* * 'OR' mediaqueries. * tests separated by commas * $basic-or : max-width 350px, 500px 600px; * $basic-or-media : 500px, tv 700px color; */ @media (max-width: 350px), (min-width: 500px) and (max-width: 600px) { .basic-or { content: "$basic-or"; content: "@media (max-width: 350px), (min-width: 500px) and (max-width: 600px)"; } } @media (max-width: 350px), (min-width: 500px) and (max-width: 600px) { .basic-or { content: "$basic-or"; content: "@media (max-width: 350px), (min-width: 500px) and (max-width: 600px)"; } } @media (min-width: 500px), tv and (min-width: 700px) and (color) { .basic-or-media { content: "$basic-or"; content: "@media (min-width: 500px), tv and (min-width: 700px) and (color)"; } } @media (max-width: 350px), (min-width: 500px) and (max-width: 600px) { .basic-or-media { content: "$basic-or"; content: "@media (min-width: 500px), tv and (min-width: 700px) and (color)"; } } @media (max-width: 350px), (min-width: 500px) and (max-width: 600px) { .basic-or-media { content: "$basic-or"; content: "@media (min-width: 500px), tv and (min-width: 700px) and (color)"; } } /* @include breakpoint-set('to ems', true); */ @media (max-width: 21.875em), (min-width: 31.25em) and (max-width: 37.5em) { .basic-or-to-ems { content: "$basic-or"; content: "@media (min-width: 31.25em), tv and (min-width: 43.75em) and (color)"; } } @media (max-width: 21.875em), (min-width: 31.25em) and (max-width: 37.5em) { .basic-or-to-ems { content: "$basic-or"; content: "@media (min-width: 31.25em), tv and (min-width: 43.75em) and (color)"; } }