Adapt.js Offers JavaScript Alternative to CSS Media Queries
4/19/2011
With the mobile web comes a new set of design problems: how do you fit your content on a much smaller screen, and, more generally, how do you make your site look good no matter what size screen it’s on? The growing consensus is that Responsive Web Design — websites that adapt to the size [...].
Similar articles
NCZOnline
CSS media queries in JavaScript, Part 1
Early in 2011, I was working on a project where I was doing some feature detection in JavaScript. Some tinkering led to the thought that using a CSS media query would work much better and so I spent s...
NCZOnline
CSS media queries in JavaScript, Part 2
In my previous post[1], I introduced using CSS media queries in JavaScript both through a custom implementation and using the CSSOM Views matchMedia() method. Media queries are incredibly useful, both...
ASP.NET Weblogs
Getting Started with CSS Media Queries
If you've ever printed a page and noticed that it looks different than the actual page displayed in the browser you've more than likely witnessed a CSS media type in action. By using CSS media types s...
WebResourcesDepot
JavaScript-Powered Media Queries – syze
Advertise here with BSAsyze is a standalone and tiny (<1kb) JavaScript-library for targeting web page designs by device or browser size very easily to build responsive websites. The library allows...
NETTUTS
Quick Tip: A Crash-Course in CSS Media Queries
In the past, in order to create layouts based upon the width of the user’s browser, we had to use JavaScript — perhaps combined with a server-side language. Fortunately, the process is n...
Think Vitamin
Getting Started and Gotchas of CSS Media Queries
By Brian SudaFor all the nay sayers that think the iPad is just a big iPhone, you couldn’t be further from the truth. Now, I won’t go as far as to say it is “Magical”, but with...