I'm having trouble with getting a repeatable background image for my stage. I have a main div (the vinyl record) which is scaled in width and center in the middle (vertical and horizontal). However when I do this I don't have a black background color or a repeatable image. Instead the default browser background color (the white bars) is shown as if it's transparent. If I set my stage options to fit 100% in both width and height it will give the entire screen the black background color selected in the stage but if I pick 100% I wont be able to use both the center and responsive scaling option.
Also I can't get a background image for my stage to work. I've tried this code:
But nothing changes...
I just checked your code.
1) I opened a new file and and dragged and dropped an image.
2) Then i copied and pasted your code.
And my image is correctly repeated. It runs fine.
So, your code is correct.
I got the background image repeat to work finally! However it seems like it only works when stage heigh and width are 100% of the screen. The downside is that I can't use the responsive scaling/center options anymore.
How can I align and rescale my main div in the center and make it scale with the resolution width by code?