Now every link in the content must have link-a class. This is highly inconvenient and will be a reason of many mistakes (forgetting about adding this class).
Instead, we should define default a styles or .content a and override those styles in other components (e.g. .box a). Styling a may be the best solution, because it has the lowest possible specificity so any other style will override it.
Now every link in the content must have
link-a
class. This is highly inconvenient and will be a reason of many mistakes (forgetting about adding this class).Instead, we should define default
a
styles or.content a
and override those styles in other components (e.g..box a
). Stylinga
may be the best solution, because it has the lowest possible specificity so any other style will override it.