谁有LOGO特效扫光代码

wuyou 发布于 分类:建议

看到别人网站的LOGO有扫光的特效,把CSS代码弄过来为何不显示,请问下@Lomu 作者有这种兼容的特效没分享一下。

我见另一个朋友提的问题,实现菜单有小图标显示,@Lomu 竟然有代码,哈哈。

有的话分享一下哈。

 

6个回复

  • wuyou
    wuyou

    如何在页头的导航添加有底色的字标志?

    https://www.wpcom.cn/question/436.html

     

  • wuyou
    wuyou

    找到了代码但有点怪怪的,哪位高手修改一下

    logo {
    position:relative;
    overflow:hidden;
    margin: 6px 0 0 10px;
    transition-duration: .3s;
    }
    .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 4s ease-in 0s infinite;
    -o-animation: searchLights 1.5s ease-in 0s infinite;
    animation: searchLights 1.5s ease-in 0s infinite;
    }
    @-webkit-keyframes searchLights {
    0,75% { left: -100px; top: 0; }
    100% { left: 120px; top: 100px; }
    }
    @-o-keyframes searchLights {
    0,75% { left: -100px; top: 0; }
    100% { left: 120px; top: 100px; }
    }
    @-moz-keyframes searchLights {
    0,75% { left: -100px; top: 0; }
    100% { left: 120px; top: 100px; }
    }
    @keyframes searchLights {
    0,75% { left: -100px; top: 0; }
    100% { left: 120px; top: 100px; }
    }...
  • wuyou
  • Lomu
    Lomu

    第一行logo前面少了一个 .

  • wuyou
    wuyou

    我无法修改请管理改了喽

  • wuyou
    wuyou

    修改好了,使用justNews的朋友可以用以上代码,后台-风格样式- 自定义CSS,放置代码即可。

    GIF.gif

微信咨询
QQ咨询
扫码关注

扫码关注微信

关注我们获取最新资讯 关注微信公众号 立即扫码关注我们