matchMedia + ranges
Fork on GitHub