Images load with fade-in?
Images load with fade-in?
Out of context: Reply #4
- Started
- Last post
- 5 Responses
- monNom0
CSS
body img {opacity:0; transition: opacity 1s linear}
body.loaded img {opacity:1}JAVASCRIPT
window.onload = function(){
var d = document.getElementsByTagName('b...
d.className = 'loaded';
}