0
I intend to leave the black background of my application in angular. I inserted a "body" tag, which I don’t have at an angle, in order to apply the style (body {background-color: black}). But it gets a very large margin.
There is another way to apply a background-color in angular?
HTML:
<body>
<app-main></app-main>
</body>
CSS:
*margin{
margin: 0;
padding: 0;
}
body {
background-color: black;
}
For the record, there is a
<body>
in an angular design, it stands in theindex.html
and if you want to apply the style to the body, just put it in thestyle.css
– Gabriel Oliveira
I even tested it here and it worked
– Gabriel Oliveira