backgroundimage with native styling

0
how to use backgroundimage with native styling ??
asked
2 answers
0

Duplicate from https://forum.mendix.com/link/questions/97992

answered
0

To use an image as a background, you should use an mendix image widget. You can do it in 2 ways:

  • Add custom styles to the image widget where you use `position: absolute` to position the image behind the other content.
    Example:
    export const customImage = {
        container: {
            position: 'absolute',
        },
    };

     
  • Place all content on the page (except for the image) inside a container, and add `position: absolute` to that container to position it in front of the image.
    Example:
    export const customContainer = {
        container: {
            position: 'absolute',
        },
    };

     

Resources:

 

 

answered