Is there a way to override CSS of a child component from the parent using ::ng-deep or another method?
In my parent component, I have included a child component like this:
....parent.component...
<app-likes></app-likes>
.....parent.component......
Within the likes component, there is the following HTML structure:
<div class="mainDiv">
<div class="secondDiv"><i class="far fa-heart fa-3x"></i></div></div>
Now, I want to change the color of the fa-heart
class to white from the parent's parent.component.css
file.
Is there a solution for achieving this?