Is there a CSS selector that applies to non-empty attributes? Using :not([Data-Attribute=\'\']) matches if the attribute is non-existing, too.
:not([Data-Attribute=\'\'])
try this