In an Angular project I want to have many tables with a defined style. So for each table in the components I need to write the css for the table styling.
Take this StackBlitz example: StackBlitz
As you can see I have master table with black border, and an agent table with red border, and they are in two separate components. I want that my master table continue black, but the agent table, and all new table I will create latter on in other components had for example an green border.
So my question is, what I need to do if I want use a specific style for a table and use the "global" style for other tables?
Update: how this works also with buttons?
classand then use that for all the buttons you would like to style with this default style. Else you'll have to override the styles every time you want to change something. Does that make sense?