ng中css样式侵入 杨明明 2018-07-01 733 阅读1分钟 有的时候用第三方组件,样式无法覆盖或修改,必须加important,这种方式并不优雅! angular中提供了响应的解决方案! :host ::ng-deep my-selector{ // some style }