📜  jquery responsive - Javascript 代码示例
📅  最后修改于: 2022-03-11 15:02:51.937000             🧑  作者: Mango
代码示例1
$(window).resize(function() {
var width = $(window).width();
if (width < 1200){
alert('Your screen is too small');
}
});