I am trying to apply a CSS background image to my HTML.
Initially, I set it to:
html {background-image: url('/assets/background.jpg')}
It worked in development, but after the assets were compiled into the Public folder, the path was no longer correct. Then, I tried:
html {background-image: url('background.jpg')}
Unfortunately, this did not work in development either.
I am a bit puzzled because it seems like a common issue, yet I haven't found anyone with the same problem.
If anyone could provide some insight, it would be greatly appreciated.