In my CSS file based on ID, I have noticed that there is a lot of repetition. What I am trying to achieve is setting up a rule where an element with a specific ID inherits properties from a certain class and additional rules. For instance, I want the element with ID id1
to inherit all properties of class LinkButton
along with having back-color: green
. Is there a way to accomplish this in the CSS file? Are there any better solutions for what I am attempting to do?