※デベロッパーツール等でソースコードをご確認ください(Please check using Developer tools)
.block {
width: 768px;
overflow: hidden;
line-height: 0;
margin: 50px auto 0;
}
.block img {
opacity: 0;
filter: blur(20px) brightness(2);
transform: scale(1.2);
}
.block.active img {
opacity: 1;
filter: blur(0px) brightness(1);
transform: scale(1);
transition: all 2.5s ease-out;
}
@media screen and (max-width:640px){
.block {
width: 100%;
}
}
window.onload = function() {
document.getElementById("block").classList.add("active")
};