swc/crates/swc_css_compat/tests/custom-media-query/export-media.css
Donny/강동윤 a5f7b4b8aa
feat(css/compat): Support custom media queries (#6625)
Co-authored-by: alexander.akait <sheo13666q@gmail.com>
2022-12-13 04:58:34 +00:00

9 lines
402 B
CSS

@custom-media --mq-a (max-width: 30em), (max-height: 30em);
@custom-media --mq-b screen and (max-width: 30em);
@custom-media --not-mq-a not all and (--mq-a);
@custom-media --circular-mq-a (--circular-mq-b);
@custom-media --circular-mq-b (--circular-mq-a);
@custom-media --min (min-width: 320px);
@custom-media --max (max-width: 640px);
@custom-media --concat (min-width: 320px) and (max-width: 640px);