Result css #CrossFade {/*コンテナ配置*/ background: #fff; display: flex; align-items: flex-end; height: 100vh; overflow: hidden; position: relative; } #CrossFade img {/*画像を重ね、透過とアニメーションでフェード効果*/ position: absolute; min-width: 100%; min-height: 100%; height: auto; background: #000; backface-visibility: hidden; opacity: 0; transform: scale(1.4); animation: CrossFade 24s infinite; } #CrossFade img:nth-chil