2014 State of Element Queries

Tab Atkins revisits Element Queries again with the sad new that not much has changed. He provides an overview again about the general problems but hints that the Shadow DOM might help us get there (after all iFrames already work in an EQ way… that’s how our Am I Responsive works)

Better would be something that would alert browsers to the “independent” nature of the element before they start applying CSS. For example, an HTML attribute would work for this. Unfortunately, it’s annoying to have to sprinkle presentation-based attributes over your page just to get your styling to work right.

An excerpt from 2014 State of Element Queries

View original article

Subscribe to our Newsletter

Add your email address and receive an email every Friday covering off everything worth knowing about building your websites responsively.