wo-user-style-scss/device.scss
2021-07-14 11:41:06 +08:00

26 lines
445 B
SCSS

/**
* 区分设备的 Media Query 模板
*/
@mixin _PHONE {
/* #ifdef H5 */
@media screen and (min-width: 0px) and (max-width: 750px) {
@content;
}
/* #endif */
}
@mixin _PAD {
/* #ifdef H5 */
@media screen and (min-width: 751px) and (max-width: 1024px) {
@content;
}
/* #endif */
}
@mixin _DESK {
/* #ifdef H5 */
@media screen and (min-width: 751px) {
@content;
}
/* #endif */
}