How to load external css style into angular 2?
Answer / Varun Kumar Jaiswal
You can load external CSS styles in Angular 2 by adding the following line in your index.html file inside the head tag: <link rel="stylesheet" type="text/css" href="path_to_your_style_sheet". If you want to load CSS in a component, use [ngStyle] or style property.
| Is This Answer Correct ? | 0 Yes | 0 No |
What's new in angular 4?
What is the tslint.json file used for?
Is angular 8 released?
How would you use an angular service to pass data between controllers? Explain with examples?
Can we use ngfor in div?
What are the differences between observables & promises?
How http client is interact with angular 2 servers?
What is in node js?
What is deep linking in angular 2?
Explain ddo in angularjs?
What is directive?
What are the directives available in router?