Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

angular dynamic background image

<div [style.background-image]="'url(/img/' + item.img + ')'"
 	[style.width.px]="200" [style.height.px]="150p"></div>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #angular #dynamic #background #image
ADD COMMENT
Topic
Name
4+7 =