import { Component } from '@angular/core';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  // styleUrls: ['./app.component.css']
  styles: [`h3 {color: lightseagreen;}`]
})
export class AppComponent {
}

import {Component, ViewEncapsulation} from '@angular/core';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  // styleUrls: ['./app.component.css']
  styles: [`h3 {color: lightseagreen;}`],
  encapsulation: ViewEncapsulation.Emulated // Native, None

})
export class AppComponent {
}

Add View Encapsulation property to App Component (l62)
Add View Encapsulation property to App Component (l62)
