B2修改方法
/*B2文章划过动画图片开始*/
.post-module-thumb:after {
content: "";
position: absolute;
top: 50%;
left: 50%;
width: 50px;
height: 50px;
margin: -25px 0 0 -25px;
background: url(https://www.uzhix.com/wp-content/themes/zibll/uzhix/img/zhuti-quanju25.webp);
background-repeat: no-repeat;
background-size: 100% 100%;
z-index: 3;
-webkit-transform: scale(2);
transform: scale(2);
transition: opacity .75s, -webkit-transform .75s;
transition: transform .75s, opacity .75s;
transition: transform .75s, opacity .75s, -webkit-transform .75s;
opacity: 0;
pointer-events: none;
}
.post-module-thumb:before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0);
transition: background .35s;
border-radius: 8px;
z-index: 2;
max-width: 765px;
margin: 0 auto;
pointer-events: none;
}
.post-module-thumb:hover:before {
background: rgba(0,0,0,.5)
}
.post-module-thumb:hover:after {
-webkit-transform: scale(1);
transform: scale(1);
opacity: 1
}
/*B2文章划过动画图片结束*/
子比修改方法
/*文章主图hover美化开始*/
.item-thumbnail:after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 50px;
height: 50px;
margin: -25px 0 0 -25px;
background: url(https://www.uzhix.com/wp-content/themes/zibll/uzhix/img/zhuti-quanju25.webp);
background-repeat: no-repeat;
background-size: 100% 100%;
z-index: 3;
-webkit-transform: scale(2);
transform: scale(2);
transition: opacity .75s, -webkit-transform .75s;
transition: transform .75s, opacity .75s;
transition: transform .75s, opacity .75s, -webkit-transform .75s;
opacity: 0;
pointer-events: none;
}
.item-thumbnail:before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0);
transition: background .35s;
border-radius: 8px;
z-index: 2;
max-width: 765px;
margin: 0 auto;
pointer-events: none;
}
.item-thumbnail:hover:before {
background: rgba(0,0,0,.5)
}
.item-thumbnail:hover:after {
-webkit-transform: scale(1);
transform: scale(1);
opacity: 1
}
/*文章主图hover美化结束*/
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。