当前位置:   article > 正文

web前端:3d立体旋转+源码+详解_前端插件 伪3d旋转

前端插件 伪3d旋转

思路:

        

 

直接插入代码:

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <title>Document</title>
  8. <style>
  9. /* 定义动画,名字run, 旋转360度:X、Y、Z(X、Y有Z的视觉感觉,不用写Z) */
  10. @keyframes run {
  11. 0% {
  12. transform: rotateX(0deg) rotateY(0deg);
  13. }
  14. 100% {
  15. transform: rotateX(360deg) rotateY(360deg);
  16. }
  17. }
  18. ul {
  19. position: relative;
  20. width: 200px;
  21. height:
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/你好赵伟/article/detail/834607
推荐阅读
相关标签
  

闽ICP备14008679号