Getting notified in JavaScript when a Media Query changes
Media queries are awesome and well used in modern web development.
But how can one notify JavaScript if a certain media query is met.
There is a window listener called: matchMedia, and it does exactly this!
This is what we will be making today:
Java...
h.daily-dev-tips.com2 min read