positioning an image diagonally in a div box

This project received 17 bids from talented freelancers with an average bid price of €22 EUR.

Get free quotes for a project like this
Project Budget
€8 - €30 EUR
Total Bids
Project Description


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!!


Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online