THE PENDING DRAFT

Responsive Elements

September 24, 2013

Media-Queries are a great way to let elements react to the browsers viewport. But what if you like your element to react to it’s parent element? Unfortunately this isn’t something that is possible with pure CSS media-queries, at least not today. But there is a small jQuery Script called responsive-elements.js from Kumail Hunaid, which let’s you do just that, or in his own words:

Responsive elements makes it possible for any element to adapt and respond to the area they occupy. It’s a tiny javascript library that you can drop into your projects today.

Example on the Responsive Elements Page

responsive-elements.js on Github

Leave your comment