Element queries are a yet-proposed CSS module that allow developers to style elements based on their size.
This repository catalogs various Element query proposals realized through various JavaScript libraries.
Element queries are the natural and much-needed evolution of Media queries. Where Media Queries care about the size of the screen, Element Queries care about the size of the thing. As a result, element queries allow content to adapt to a wide range of viewing experiences without having to change the content itself, as well as reduce the complexity of stylesheets by removing the need to specify all of the possible layout configuration between the screen and an element.