A

Admin • 832.27K Points
Coach

Q. How do you apply CSS styles specifically to one Angular component?

  • (A) Using component's styles or styleUrls property
  • (B) Using global styles.css file
  • (C) Using inline styles in HTML
  • (D) Using ngClass directive
  • Correct Answer - Option(A)
  • Views: 19
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin

Component styles are scoped to that component and defined in styles or styleUrls.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.