In angular component CSS styles are encapsulated into the component's view and don't affect the rest of the application; usually this is the behaviour that you want however sometimes it's useful to be able to affect tags outside the component
Mehr…
Lesen Sie den vollständigen Beitrag unter http://blog.trivadis.com/b/ulisesfasoli/archive/2018/02/09/angular-4-5-override-class-in-body-tag-shadow-piercing-combinators-approach.aspx
Bereitgestellt
9 Feb 2018 13:26
von
triBLOG