CSS-Element-Queries Polyfill. proof-of-concept for high-speed element dimension/media queries in valid css.
csselementquery
https://marcj.github.io/css-element-queries/