I am wondering if $(document).resize() should make sense or not?
The problem is that when the document gets bigger (i.e. a div expanding for some reason), the height of the document changes. I would like to stretch the background image so that the added area of ββthe document is not empty. What would be the best way to do this?
Basically, is there a way to get notified when the height of a document has changed?
To be clear, I do not want my image to be repeated.
javascript jquery html css
Rozbeh15
source share