Result of browser window resize Simply we handle the resize event of the window. We can thus adjust the size or appearance of the elements depending on the window size. $(window).resize(myHandler); function myHandler() { alert(‘Do something …’); } Read More →