This project includes example code used for this article https://indepth.dev/posts/1469/techniques-to-style-component-host-element-in-angular
Styling the host element is a crucial ability. Understanding that can completely change the way you develop reusable components, making their code clear and easier to maintain. This article will concentrate on techniques that use CSS styles and reduce Typescript logic.
HostBinding
decorator:host
pseudo-class selector:host-context
pseudo-class selector
feel free to contact me:
- maciejwwojcik@gmail.com
- @maciej_wwojcik on Twitter