• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to find wide elements when making a web adaptive / responsive
#1
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.
[Image: kavove-zrnka-lajna.jpg]
Coffee phreak!
  Reply




Users browsing this thread: 1 Guest(s)