Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS CSS transforms to fit an image

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #235809
    vibra
    Participant

    Hi everybody,
    I want to use CSS transforms to fit an image exactly between two divs.
    The divs position are linked to the window size, so the image has to be dynamically scaled and positionned. I also envisage to be able to zoom and rotate, while keeping the image between the divs.
    But that’s not what I obtain. It seems that the scaling does not work and the image is not positionned just under the upper bar.
    Why ?
    http://codepen.io/vibra/pen/YwyyJx

Viewing 1 post (of 1 total)
  • The forum ‘CSS’ is closed to new topics and replies.