Hi there, I'm experimenting some problems when I try to use CSS in order to fade in the images after they are loaded. This work good but it does it on the tag, spinner included, but not on the image after is loaded. I mean, the effect is applied to the spinner. After the image is loaded, this is just shown but without any effect, because that was applied when we load tag. Am I doing something wrong? This is what I have
Hi there, I'm experimenting some problems when I try to use CSS in order to fade in the images after they are loaded. This work good but it does it on the tag, spinner included, but not on the image after is loaded. I mean, the effect is applied to the spinner. After the image is loaded, this is just shown but without any effect, because that was applied when we load tag. Am I doing something wrong? This is what I have
HTML
JS
And CSS
Thanks in advance!