※デベロッパーツール等でソースコードをご確認ください(Please check using Developer tools)
.list {
justify-content: space-between;
display: flex;
width: 700px;
margin: 70px auto 0;
}
.list li {
overflow: hidden;
width: 31%;
line-height: 0;
}
.list li p {
opacity: 0;
transform: translateX(10%);
}
.list li:nth-child(1) p{
transition: opacity 1.4s ease-out 0s, transform 1.4s ease-out 0s;
}
.list li:nth-child(2) p{
transition: opacity 1.4s ease-out 0.5s, transform 1.4s ease-out 0.5s;
}
.list li:nth-child(3) p{
transition: opacity 1.4s ease-out 1s, transform 1.4s ease-out 1s;
}
.list.active li p{
opacity: 1;
filter: alpha(opacity=100);
transform: translateY(0);
}
@media screen and (max-width:640px){
.list {
display: block;
width: 50%;
}
.list li {
width: 100%;
margin: 0 0 10px;
}
}
$(window).on('load', function(){
$(".list").addClass("active");
});