Actually there's a CSS3 solution to select elements that doesn't have a display:none
style, or given an explicit style
property:
*:not([style*="display: none"]) button{ ... }
Demo:
*:not([style*="display: none"]) button{
color:yellow;
}
My name is A.