65
rated 0 times
[
66]
[
1]
/ answers: 1 / hits: 199650
/ 7 Years ago, fri, august 11, 2017, 12:00:00
I am trying the following lines to set the background image.but it not works. what are the way set background image in constantly in my application.
app.component.html
<div [ngStyle]={'background' : 'url(./images/trls.jpg)'}>
<router-outlet></router-outlet>
<alert></alert>
</div>
More From » angular