-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
Closed
Labels
docsImprovements or additions to the documentation.Improvements or additions to the documentation.good first issueGreat for first contributions. Enable to learn the contribution process.Great for first contributions. Enable to learn the contribution process.ready to takeHelp wanted. Guidance available. There is a high chance the change will be acceptedHelp wanted. Guidance available. There is a high chance the change will be acceptedscope: cardChanges related to the card.Changes related to the card.type: bugIt doesn't behave as expected.It doesn't behave as expected.
Description
Related page
https://mui.com/material-ui/react-card/
Kind of issue
Unclear explanations
Issue description
The text for Card Media states:
Card Media: an optional container for displaying background images and gradient layers behind the Card Content.
but I cannot figure out how to make a background image using CardMedia. The image displays above the CardContent. CardMedia is not meant to be used as a background for the Card and it's description in the docs should be updated.
Context
Simply put, I'd like to add a background image for the card. Something like this (which I found on the web after searching for "login screen with background image"):
Search keywords: card, media, background image
Metadata
Metadata
Assignees
Labels
docsImprovements or additions to the documentation.Improvements or additions to the documentation.good first issueGreat for first contributions. Enable to learn the contribution process.Great for first contributions. Enable to learn the contribution process.ready to takeHelp wanted. Guidance available. There is a high chance the change will be acceptedHelp wanted. Guidance available. There is a high chance the change will be acceptedscope: cardChanges related to the card.Changes related to the card.type: bugIt doesn't behave as expected.It doesn't behave as expected.
