※デベロッパーツール等でソースコードをご確認ください(Please check using Developer tools)
.block {
width: 768px;
margin: 50px auto 0;
}
.block img {
transform: translate3d(0, 30px, 0) rotate3d(1, 1, 0, -40deg);
opacity: 0;
transition: all 1.5s;
}
.block.active img {
opacity: 1;
transform: translate3d(0, 0, 0) rotate3d(1, 1, 0, 0deg);
transition-delay: 0.5s;
}
@media screen and (max-width:640px){
.block {
width: 100%;
}
}
window.onload = function() {
document.getElementById("block").classList.add("active")
};