I have a data attribute data-modals. I would like to target this with CSS when the property has a value. I don't mind what the value is.
I can find guides for selecting when the attribute exists, or specific values, but not for 'any' value - the equivalent of '*'.
ie.
<element data-modals="" /> should not be targeted
<element data-modals="any text" /> should be targeted