Styling Components

Which of the following is a valid way to add styles to a component in Angular?

  1. By setting styles metadata.
  2. By setting styleUrls metadata.
  3. With CSS imports.

options

  • a. Either 1 or 3
  • b. Either 2 or 3
  • c. Either 1 and 2
  • d. All 1, 2 or 3

Related Posts