在我的app-root组件中,我有app-container组件.我如何设置app-container组件的样式?
HTML:
<app-container></app-container>
Run Code Online (Sandbox Code Playgroud)
CSS:
app-container {
background: red;
}
Run Code Online (Sandbox Code Playgroud)
^上面的CSS不起作用.
我想设置和定位app-container组件.我试过谷歌搜索,但找不到合适的解决方案.请帮忙.
提前致谢!
angular ×1