How to find wide elements when making a web adaptive / responsive

User avatar
Ashus
Administrátor
Posts: 417
Joined: 07. 07. 2007 10:51
Location: Ostrava - Polanka nad Odrou
Contact:

How to find wide elements when making a web adaptive / responsive

Postby Ashus » 14. 09. 2016 22:39

Provided you have jQuery, open you dev. tools, adjust the window to designated dimensions and put this to the console in your browser:

Code: Select all

$(':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.
Image
Coffee phreak!

Who is online

Users browsing this forum: No registered users and 1 guest

cron