css实现螺旋向上动画

来源:互联网 发布:mac解压缩软件zip 编辑:程序博客网 时间:2024/05/30 05:00
<ul><li>DBNFAJF;AOJFS;AKF;</li><li>FSAFJFSOJKFSLKJA[PFK[ALJAFKFL;FHIOAIHF</li><li>JFSOJKFSLKJA[PFK[APKFAFKFL;FHIOAIHF</li><li>JFSOJKFSLKJA[PFK[APKFAFPKAFKFLKFKF;LF;L;FHIOAIHF</li><li>JFSOJKFSLKJA[PFK[APKFAFPKAFKFLKFKF;LF;L;FHIOAIHF</li><li>JFSOJKFSLKJA[PFK[APKFAFPKAFKFLKFKF;LF;LJAFKFL;FHIOAIHF</li><li>JFSOJKFSLKJA[PFK[APKFAFPKFKF;LFL;FHIOAIHF</li><li>JFSOJKFSLKJA[PFK[APKFAFPKAFKFLKFKFFL;FHIOAIHF</li><li>JFSOJKFSLKJA[PFK[APKFAFPKAKFKF;LKFL;FHIOAIHF</li><li>JFSOJKFSLKJA[PFK[APKFAFPKAFKFLKFKF;LF;LJAFKFL;FHIOAIHF</li><li>JFSOJKFSLKJA[PFK[APKFAFPKAFKFLFL;FHIOAIHF</li><li>JFSOJKFSLKJA[PFK[APKFAFPKAFKFLKFKFHIOAIHF</li><li>JFSOJKFSLKJA[PFK[APKFAFPKAFKFLKFKF;LF;LJAFKFL;FHIOAIHF</li><li>JFSOJKFSLKJA[PFK[APKFAFPKAFKFLJAFKFL;FHIOAIHF</li><li>JFSOJKFSLKJA[PFK[APKFAFPKAFKFLKFKF;LF;LJAFKFL;FHIOAIHF</li><li>JFSOJKFSLKJA[PFK[APKFAFPKAFKFLKFKF;LF;LJAFKFL;FHIOAIHF</li></ul>

<style>*{margin: 0px;padding: 0px;}body{background-color: #08F2FE;color: #fff;list-style: none;}ul{overflow: hidden;text-align: center;perspective: 900px;height: 100vh;max-height: 800px;min-height: 400px;}li{position: absolute;top:0;width: 100%;font-size: 20px;font-weight: bold;transform: translateY(100vh);animation: index 5s linear infinite;}li:nth-child(1){animation-delay: 0.33333s;}li:nth-child(2){animation-delay: 0.66667s;}li:nth-child(3){animation-delay:1s;}li:nth-child(4){animation-delay: 1.33333s;}li:nth-child(5){animation-delay: 1.66667s;}li:nth-child(6){animation-delay:2s;}li:nth-child(7){animation-delay: 2.33333s;}li:nth-child(8){animation-delay: 2.66667s;}li:nth-child(9){animation-delay:3s;}li:nth-child(10){animation-delay: 3.33333s;}li:nth-child(11){animation-delay: 3.66667s;}li:nth-child(12){animation-delay:4s;}li:nth-child(13){animation-delay: 4.33333s;}li:nth-child(14){animation-delay: 4.66667s;}li:nth-child(15){animation-delay:5s;}li:nth-child(16){animation-delay:5.33333s;}@keyframes index{0%{transform: rotateY(90deg) translateY(100vh) rotate(0deg);}50%{transform: rotateY(0deg) translateY(50vh) rotate(0deg);}100%{transform: rotateY(-90deg) translateY(0vh) rotate(0deg);}}</style>

原创粉丝点击