mdb-card imageBackground is not working


Topic: mdb-card imageBackground is not working

skota524 asked 9 months ago

Expected behavior

Actual behavior imageBackground is not displayed with 8.1.0

it was working fine with 7..

what i see in HTML is')" ng-reflect-class="modal-content" **ng-reflect-image-background="url('"**>

Resources (screenshots, code snippets etc.)

Damian Gemza staff answered 9 months ago

Dear @skota524

Please use the style="background-image: url(' ')" and class="card-image" instead of imageBackground, because this has changed in MDB 8.

Best Regards,


Please insert min. 20 characters.


Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: Angular
  • MDB Version: 8.0.0
  • Device: laptop
  • Browser: chrome
  • OS: windows
  • Provided sample code: No
  • Provided link: Yes