marcj / css-element-queries

CSS Element-Queries aka Container Queries. High-speed element dimension/media queries in valid css.
http://marcj.github.io/css-element-queries/
MIT License
4.27k stars 487 forks source link

Support for properties like scrollHeight, scrollWidth #129

Open vytautas-pranskunas- opened 8 years ago

vytautas-pranskunas- commented 8 years ago

It would be nice if this library support scrollHeigth and scrollWidth too e.g. .widget-name[scroll-height~="400px"] h2 { display: none; }

marcj commented 8 years ago

Actually, we could make it generic so whatever you specify in scroll-height it will be added to the engine so it reads the actual element attribute of scrollHeight. you could then query all available dom properties of an element.

vytautas-pranskunas- commented 8 years ago

It is great idea... It would be nice!

agrublev commented 7 years ago

updates?

marcj commented 6 years ago

No planned to support that yet.