Well, yeah, an extension that autoscales the bg-image depending on your screen resolution.
Code: Select all
background-size: cover;
cover
with contain
or 100% auto
.contain
value to do the job.Ok, I'll do so thanks, but what's the difference between the contain and auto?cabot wrote: Sat Feb 17, 2024 9:13 am It looks like you're using the Background Forum extension. All you have to do is modify the background.css file.
Find:ReplaceCode: Select all
background-size: cover;
cover
withcontain
or100% auto
.
Your image is large enough for the
contain
value to do the job.
https://developer.mozilla.org/en-US/doc ... SS/containdeepndark wrote: Wed Feb 21, 2024 2:45 pm
Ok, I'll do so thanks, but what's the difference between the contain and auto?
Ok thanks! One question before I do anything: If I have a .png as a background, then will it keep it's transparenty when it scales?warmweer wrote: Wed Feb 21, 2024 3:25 pmhttps://developer.mozilla.org/en-US/doc ... SS/containdeepndark wrote: Wed Feb 21, 2024 2:45 pm
Ok, I'll do so thanks, but what's the difference between the contain and auto?
https://developer.mozilla.org/en-US/docs/Web/CSS/width
I'ld expect it to, but the proof of the pudding is in the tasting. (just in case: that means try it to see the result).deepndark wrote: Thu Feb 22, 2024 9:02 am
Ok thanks! One question before I do anything: If I have a .png as a background, then will it keep it's transparenty when it scales?