css-element-queries
css-element-queries copied to clipboard
Support for properties like scrollHeight, scrollWidth
trafficstars
It would be nice if this library support scrollHeigth and scrollWidth too e.g. .widget-name[scroll-height~="400px"] h2 { display: none; }
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.
It is great idea... It would be nice!
updates?
No planned to support that yet.