更新到3.2的请把diy.css样式复制到后台主题顶部设置-自定义CSS。
添加logo扫光效果
添加目录wp-content/themes/ripro/assets/css diy.css
/*
* LOGO
*/
.logo-wrapper {
position: relative;
font-size:2em;
font-weight:700;
line-height:39px;
overflow:hidden;
margin:0;
}
.logo-wrapper::before{
content:"";
position: absolute;
width: 150px;
height: 10px;
background-color: rgba(255,255,255,.5);
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
-webkit-animation: searchLights 1s ease-in 1s infinite;
animation: searchLights 1s ease-in 1s infinite;
}
@-webkit-keyframes searchLights {
0% { left: -90px; top: 0; }
to { left: 90px; top: 0; }
}
内容查看
查看价格免费
客服微信:wzsdream,添加请备注王子驿站!
原文链接:https://94wz.top/2260.html,转载请注明出处。


评论0