Wodpress站点如何实现特殊日期网站一键变灰

  • A+
所属分类:WordPress主题

在CSS添加如下代码即可:

.nav-top, #navigation-top li a, #navigation-top img,

.post, #primary, .g-row, .widget, .tg-site, .xm4,

.links-group, .nav-links, .cover4x, #scroll,

.links-box, .cms-news-grid-container, .cat-container,

.gw-box, .sx4, .owl-theme, .site-footer, .contactus,

.single-tag, .authorbio, #submit, .login-overlay, .header-sub,

.pagenav-clear, .nav-section, .comment, .comment-respond,

.group-tab-site, .guide-img, .picture-box, .link-box {

filter: grayscale(90%);

-webkit-filter: grayscale(90%);

-moz-filter: grayscale(90%);

-ms-filter: grayscale(90%);

-o-filter: grayscale(90%);

filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=0.9);

}

admin