How to use ngStyle for background url in Angular 4

后端 未结 7 681
逝去的感伤
逝去的感伤 2020-12-28 21:56

I have below html:

  
  • 7条回答
    •  一整个雨季
      2020-12-28 22:34

      background-url is incorrect CSS, use background or background-image instead.

      Here is an example of correct syntax:

      Your full example would look like this:

    • Make your food with Spicy.

    提交回复
    热议问题