I'm working a framework that create on screen certain elements that should not be modified in any way, at all, ever, under any circumstances . These elements always have a data-for attribute with some value.
I know I could exclude them from a selector by using not command like:
input:not([data-for], .exclude)
In case of having a value I know I could do something like
input:not([data-for=lalala], .exclude)
The problem is that I won't know the value at development time and the first option only works when the attribute has no value. Is there another to do this?