7b2美化-logo扫光

演示

没什么演示的 就logo有一道光扫过

7b2美化-logo扫光

教程

把代码添加到css样式

/* logo扫光 */
 .logo{
    position:relative;
    overflow:hidden;
    margin: 0px 0 0 0px;
}
.logo:before{
    content:"";
     position: absolute;
     left: -665px;
     top: -460px;
     width: 200px;
     height: 15px;
     background-color: rgba(255,255,255,.5);
     -webkit-transform: rotate(-45deg);
     -moz-transform: rotate(-45deg);
     -ms-transform: rotate(-45deg);
     -o-transform: rotate(-45deg);
     transform: rotate(-45deg);
     -webkit-animation: searchLights 6s ease-in 0s infinite;
     -o-animation: searchLights 6s ease-in 0s infinite;
     animation: searchLights 6s ease-in 0s infinite;
}
@-moz-keyframes searchLights{
    50%{
        left: -100px;
         top: 0;
    }
     65%{
        left: 120px;
         top: 100px;
    }
}
@keyframes searchLights{
    40%{
        left: -100px;
         top: 0;
    }
     60%{
        left: 120px;
         top: 100px;
    }
     80%{
        left: -100px;
         top: 0px;
    }
}
/* logo扫光结束 */
@版权声明:
文章版权归作者所有,未经允许请勿转载,如需转载请附带原文链接 谢谢。
本博客所有文章除特别声明外,均默认采用CC BY-NC-SA 4.0 许可协议
本站一律禁止以任何方式发布或转载任何违法的相关信息,访客发现请向站长举报
如有侵权 联系邮箱2131456789@qq.com

给TA打赏
共{{data.count}}人
人已打赏
7b2

7b2美化-用户头像旋转特效

2023-5-17 4:04:36

QQ

QQ个人中心

2023-3-16 22:15:19

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索