Forums

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

Home Forums CSS [Solved] Can I get a div with a fixed position to scroll Reply To: [Solved] Can I get a div with a fixed position to scroll

#199058
Paulie_D
Member

As far as I know, even using object-fit, an image that’s 3×5 won’t fit an element that 2 x 6 (or whatever) fully fitting top to bottom and right to left without distortion.

https://jsfiddle.net/1tsknx3L/

It’s just not possible AFAIK…something has to give somewhere.

Plus, you know Browser Support