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

Home Forums CSS Background image going weird Reply To: Background image going weird


It is suppose to maintain the ratio. I might have done it wrong in JSFiddle, but my biggest problem is the background image going weird

It doesn’t maintain the ratio when the block width is less than the block’s height (ie. portrait sized). Other than that, “going weird” is kind of open-ended and can mean anything.