写一个特效:鼠标经过文字时,文字旋转360度

写一个特效:鼠标经过文字时,文字旋转360度,第1张

写一个特效:鼠标经过文字时,文字旋转360度
* {        margin: 0;        padding: 0;      }      body {        box-sizing: border-box;        align-items: center;        justify-content: center;      }      a {        display: block;        width: 80px;        height: 80px;        border: 1px solid #eeddee;        margin: 50px auto;        color: #333;        text-decoration: none;      }      a:hover {        animation: fly01 1s infinite;      }      @keyframes fly01 {        from {          transform: rotate(0deg);        }        to {          transform: rotate(360deg);        }      }

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/zaji/4947718.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-11-13
下一篇2022-11-13

发表评论

登录后才能评论

评论列表(0条)

    保存