Javascript Break Point Help

Hey guys, I'm trying to make a little javascript plugin. In this plugin I need to do stuff when CSS breakpoints are hit. I know the standard method for this is checking is for css property values (since window width stuff is not always in sync).

So my idea was to append an element #sizeCheck and styles that change the z-index with the CSS breakpoints.

So basically I appended a <style> element and a #sizeCheck div. Then i set up a debounced window resize listener and used...

Javascript Break Point Help

from JavaScript http://ift.tt/1taPmJo
via IFTTT
Previous
Next Post »
Thanks for your comment