For example, if there are 10 pictures, when the user opens this page, these 10 pictures are displayed one by one with transparency. 0 to 100 are not displayed together. . How to do this? Absolutely not using js. Can anyone give me some ideas?
#gallery img{ opacity: 0; animation: myfirst 1s linear 1s infinite alternate; -webkit-animation: myfirst 1s linear 1s infinite alternate; /* Safari and Chrome */ } @keyframes myfirst{ 100% {opacity: 1};}@-webkit-keyframes myfirst /* Safari and Chrome */{ 100% {opacity: 1};}