Angular Component Style File
The app.component.css file contains the component styles. At the same time, Angular itself ensures the modularity of these styles. This means that all styles will be applied only to the layout of our component, without hooking other tags.
As an example, let's style the div text:
div {
color: red;
}
Make two divs with text: the first in your component layout and the second in the site layout. Style the component div. Check that the div in the site layout will not be styled.