- This topic is empty.
- The forum ‘CSS’ is closed to new topics and replies.
How can I have a background stretched to fit the entire browser window while stretching and maintaining the aspect ratio set as well as being positioned.
ie. minimum width & height of 100% so no part of the screen is without the background at any resolution while maintaining the image’s aspect ratio and positioned [centered vertically] and well as scaled 200%.
Background-size in CSS3 works fine but I can’t resize the background image which is what I want it to do.
Is there a way to do this?