Full sized BackgroundImage. #2511
Answered
by
rtivital
mattfullerdev
asked this question in
Q&A
-
I'm trying to make a BackgroundImage on the whole screen, full sized and fixed so that when the content is scrolled, the back ground stays in place. Code started like this:
I've tried background size and background attachment but it has no effect. What am I missing? Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
rtivital
Sep 21, 2022
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
mattfullerdev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
<BackgoundImage sx={{ position: 'fixed', inset: 0 }} />