title: Angular 7 - Change background colour of component
body: <p>I am starting out in Angular so please excuse if this is a bit of a noob question. I have generated a component that I would like to use as the login screen. I am trying to change the background color of the entire page but can't do so successfully.</p>
  
  <p>I have tried the following:</p>
  
  <pre><code>html{
      background-color: blue !important;
  }
  
  body{
      background-color: blue !important;
  }
  </code></pre>
  
  <p>Which doesn't work. I do not want to change the background colour of all the pages, only this login component. So putting the above code into the <code>styles.scss</code> file isn't an option.</p>