Topic: mdb-card imageBackground is not working

skota pro asked 4 years 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 4 years 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.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 8.0.0
  • Device: laptop
  • Browser: chrome
  • OS: windows
  • Provided sample code: No
  • Provided link: Yes