background image

0
Hello devs,   I've an image at image_collection of an module. I want to use the image to set as background of my app body through custom.scss file. How can I do that?
asked
3 answers
1

You can add such class embellishments to your image and image container, which I think is the best solution, and it works for any screen size. If you use some css properties of background alone, it won't cover the entire container.

屏幕截图 2023-10-26 170613.png

Snipaste_2023-10-26_17-02-03.png

answered
0

background-image: url('img/{yourPicture}.png');

answered
0

Snipaste_2023-10-27_08-43-31.png

Snipaste_2023-10-27_08-43-59.png

You need to use this component to set the image as the background image in mendix.

answered