hi,
I was wondering if there a way to get the current viewport size of the browser? A colleague is working on a custom made responsive theme and he needs the current width and height to alter component positions per media query and css.
hi,
I was wondering if there a way to get the current viewport size of the browser? A colleague is working on a custom made responsive theme and he needs the current width and height to alter component positions per media query and css.
Try this:
ScreenSize.getScreenSize()