I have a css that will be assigned to a class, let's say .button, but exclude the class that has id #id1 and #id2. I use
.class:not(#id, #id2) { background: #f46b45; }
This works on Chrome. But once I open on Safari, the style background: #f46b45;
is assigned to all button with class .button.
I have not checked on the other browsers. How can I make the exclusion work?