mdb-card imageBackground is not working

web
mobile

Topic: mdb-card imageBackground is not working

skota524 asked 9 months ago

Expected behavior https://mdbootstrap.com/docs/angular/modals/forms/#dark

Actual behavior imageBackground is not displayed with 8.1.0

it was working fine with 7..

what i see in HTML is

https://mdbootstrap.com/img/Photos/Others/pricing-table%20(7).jpg')" ng-reflect-class="modal-content" **ng-reflect-image-background="url('https://mdbootstrap.com/i"**>

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,

Damian


Please insert min. 20 characters.
Status

Resolved

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