﻿.slideshow-item-text {
    width:90%;
    padding:10px 20px;
    box-sizing:border-box;
    background-color:#F5F5F5
}

.slideshow-img {
    width:100%;
    height:401px;
    position:relative;
    overflow:hidden
}
.slideshow-img img{
    width:100%;
    opacity:0;
    transform: scale(1);
    position:absolute;
    bottom:0;
    object-fit:contain;
    animation: selemt 48s infinite,aniImg 48s infinite;

}
/* 延迟改 */
.slideshow-img img:nth-child(1){
animation-delay: 0s; 
}
.slideshow-img img:nth-child(2){
animation-delay: 8s;
}
.slideshow-img img:nth-child(3){
animation-delay: 16s;
}
.slideshow-img img:nth-child(4){
animation-delay: 24s;
}
.slideshow-img img:nth-child(5){
animation-delay: 32s;
}
.slideshow-img img:nth-child(6){
animation-delay: 40s;
}

@media (max-width:500px){
    .slideshow-item-text{
        width:100%;
    }
    .slideshow-img{
        height:300px;
    }
}

/* 固定不要动 */
@keyframes selemt {
    15%{
        opacity: 1;
    }
    30%{
        opacity: 0;
    }
}
@keyframes aniImg {
    to{
        transform: scale(2);
    }
}