Loading topic
@Component decorator and a template. It explains what Angular actually does to your CSS under the default ViewEncapsulation.Emulated mode, so you can predic6 min read@Component, you know CSS selectors and specificity, and you have seen Emulated view encapsulation. Here you will learn how to style the element that a component is attached to, how the :host selectors work, and how outside styles int5 min read@Component, that you know CSS selectors and specificity, and that you have seen the default Emulated encapsulation scope a component's styles. Here you compare the three modes Angular offers, learn what each one does to the DOM, and le6 min read@Component decorator and that you know basic CSS selectors, specificity and inheritance. You should also know what Emulated view encapsulation does, which an earlier chapter covered. Here you will use CSS custom properties 7 min readinput(), and read CSS selectors including specificity. It also assumes you have seen :host in a component stylesheet. Here you will learn how a component sets classes, styles and attributes on its own host element7 min read@Component decorator, you know CSS selectors and specificity, and you have read the earlier chapters on Emulated encapsulation and :host. Here you will learn what ViewEncapsulation.None does, when it is justified, how i7 min read@Component decorator, and have read the earlier chapters on Emulated encapsulation and :host. Here you will see how ViewEncapsulation.ShadowDom works, what it changes compared w6 min read@Component decorator, and have read the earlier chapters on Emulated encapsulation and :host. Here you will learn what ::ng-deep does, why Angular marks it deprecated, and which6 min readstyleUrl, and that you know how Emulated encapsulation and :host work from the earlier chapters. It covers how Sass fits into the Angular build, what Sass can and cannot do in an encapsulated component, and the mistakes that cost the6 min read:host, class and style bindings, the three ViewEncapsulation modes, global styles, CSS custom properties, host bindings and ::ng-deep. It does not introduce new APIs. It gives you a way to deci6 min read