jeudi 4 janvier 2018

Angular Component to make not inherit default css style

I am newbie in Angular, do not blame me if something I explained wrong ...

I have started learning of Angular and faced with the problem: How to separate style of my component from default style in Web App ?

It is useful when you find a nice Angular Component on the Web, copy it in your application and it looks like as was intended.

I have found on the Web that something like this possible with:

encapsulation: ViewEncapsulation.Native

But seems it doesn't work ... Is there any solution for such case ?




Aucun commentaire:

Enregistrer un commentaire