<div class="svg_ahu card_content" align="start" [inlineSVG]="'/assets/ahu.svg'"></div>
I used this syntax to include SVG in angular2 but not able to style it.
CSS:
#fill1 {
animation: fill1 .1s ease infinite;
}
It's happening due to styles encapsulation.
You can use one of 3 options: