Ashus.ashus.net

Full Version: How to find wide elements when making a web adaptive / responsive
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Provided you have jQuery, open you dev. tools, adjust the window to designated dimensions and put this to the console in your browser:

Code:
$(':visible').each(function(){var w = $(this).outerWidth(); if (w<=360) return; console.log(w, this)})

You can adjust the 360 px number to any number you need for your breakpoint.
You can try to use browser developer tools to identify the wide element on different screen sizes.
I'm glad you shared this information. I like your wonderful post. You have given everyone a blog post that is both informative and interesting. fireboy and watergirl