Enquire.js – Media Query Callbacks in JavaScript | CSS-Tricks

CSS Media Queries are great, but sometimes you need JavaScript events to fire when media queries change


A guest post by Nick Williams. Nick walks through his new mini JavaScript library for providing callbacks when specified media queries match (or don’t!).

Download Enquire.js at http://wicky.nillia.ms/enquire.js/

Read the article at CSS-Tricks