I am struggling with scaling a giant background image to be 100% of the browser size. The issue arises when the webpage height is greater than that of the browser. For example, if the browser is 1000x1000 and my website is 1000x1500, scrolling down causes the background to repeat rather than scale down.
My current CSS code is as follows:
html,body { width: 100%; height 100%; }
body { background: url(blah) no-repeat; background-size: 100% 100%; }
Does anyone have any suggestions on how I can solve this problem?