Breakpoint Checking in Javascript with CSS User Values
With a fire lit under us from one Jeremy Keith, we present a way to check for media query breakpoints in JavaScript without using matchMedia or onResize events – including the passing of user-defined strings. Keen!