I would like to apply special CSS style properties to active router links:
<a [routerLink]='link'>{{name}}</a>
Here is what I tried so far (Using the default router-link-active class):
.router-link-active {
color: #000;
font-weight: bold;
}
It doesn't work and I really don't understand why.