i am working currently on my random quote machine. I thought about some random images, changing every time someone hits the new quote button. It nearly all worked but the transitions between my images are not smoothy. Does someone got a tip how to add smooth transition between my images?
Link to my pen: https://codepen.io/Chepalos/pen/vgwazm?editors=0010
I’ll let you search on how to detect that the background-image is loaded, I found the answer on stackoverflow.
I’m not verry good to explain things so I hope it’s clear!
i will try that, but maybe because i will using Ajax for getting my random quotes i can use it to for my changing background image.