Im trying to define a custom CSS style that "shapes" a button. Then I want to use this base definition and add or override a couple of styles like color or text color. Im sure this can be done but i cannot get it working. Example:
Cascading style sheets. Despite being called classes, it's not OOP. I don't really understand why the decision was made to do things the way they were so many years ago, but it's what the world is stuck with.
Ah there isnt realy inheritance, but you could just use ',' next to the general. every new class wil have to be added here too tho.
Make sure they are on top of the list. As the one on top wil be overridden by the lower one (if they have the same selector)