I need a clean (for laymen comprehensible) piece of code to position a rectangle image file (png, jpg, svg …) diagonally in a div box, so it is as big as possible. The div box is 100 vw width and 100 vh hight (-> attached sketch).
The image shall be visible completly also in a responsible environment.
Need to control in which direction the image is rotated.
Thank you for your help!!