Topic: Card Background Image

Two Aow priority asked 1 year ago


Expected behavior Create a Card with a background Image and text over the image.

Actual behavior Cards appear to only have a background color. Is it possible to make a card with a background image? I know how to do this with css, but am having fun using the cards.

Resources (screenshots, code snippets etc.)

enter image description here


Wojciech Staniszewski staff commented 1 year ago

You could try to apply an inline style with background-image. MDBCard does not have a property for the background image.



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB React
  • MDB Version: MDB5 4.2.0
  • Device: MacBook Pro
  • Browser: Chrome
  • OS: Monterey
  • Provided sample code: No
  • Provided link: No