萌娘百科,万物皆可萌的百科全书!转载请标注来源页面的网页链接,并声明引自萌娘百科。内容不可商用。
跳转到导航
跳转到搜索
.image-clip {
display: inline-block;
vertical-align: middle;
overflow: hidden;
position: relative;
}
.image-clip div:nth-child(2) {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
.image-clip img:not([src]) {
position: absolute;
top: 0;
left: 0;
}
/* [[Category:在模板名字空间下的CSS页面]] */