Showing all posts in “media queries”

A Responsive Images Approach with Picturefill and WordPress

For our recent project, Action Photography, we put a lot of thought and labour into our responsive images approach, making use primarily of Scott Jehl’s Picturefill. As designs were coded up, we initially used a single size image to separate the mental challenging of working out how responsive images should work to its own focused… Read more

How to load JavaScript conditionally with media queries in WordPress

I figured out a solution for loading JavaScript conditionally with media queries in WordPress, after a little research, and want to share it, and get some JavaScript criticism. Scenario I finished some scroll-driven animation with the help of the fantastically awesome Superscrollorama. I’m using min-width media queries to only render the animated elements in the browser… Read more