js detect screen size change
snippet in javascript

js detect screen size change

user6733

window.onresize = function(){
console.log("resize");
}