wordpress主题美化

Logo扫光 /* logo扫光开始 moxingbk.com*/ .navbar-brand{positio […]

Logo扫光

/* logo扫光开始 moxingbk.com*/
.navbar-brand{position:relative;overflow:hidden;margin: 0px 0 0 0px;}.navbar-brand: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扫光结束 moxingbk.com*/

 

超链接下波浪线

 

/*超链接下波浪线*/
.wp-posts-content a:hover {color:#ff4500;text-decoration:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 4'%3E%3Cpath fill='none' stroke='%23FF4500' d='M0 3.5c5 0 5-3 10-3s5 3 10 3 5-3 10-3 5 3 10 3'/%3E%3C/svg%3E")repeat-x 0 100%;background-size:20px auto;animation:waveMove 1s infinite linear}
@keyframes waveMove{from{background-position:0 100%}
to{background-position:-20px 100%}
}
/*超链接下波浪线结束*/

 

 

参考网址

https://blog.nbuu.cc/343.html

版权声明
文章标题:wordpress主题美化
文章链接:https://blog.chiyuba.com/houduanjishu/579.html
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布,转载或引用请注明出处。
温馨提示:本文最后更新于 2025年6月17日,部分内容可能存在时效性,请注意甄别。

相关推荐

更多教程
世界,您好! 后端技术 世界,您好!

[title-plane title=&...

2 浏览
C++操作SQLite数据库操作实例:查询、增加、修改、删除 后端技术 C++操作SQLite数据库操作实例:查询、增加、修改、删除

  简介:在C++中使用SQL...

4 浏览
子比主题:给导航栏菜单添加样式徽标 后端技术 子比主题:给导航栏菜单添加样式徽标

前言 最近在使用子比主题时,需要给导航栏...

10 浏览

评论