16,874
个编辑
LLWiki正在建设中,欢迎加入我们!
(//使用页面/文本对比查看器快速编辑) |
(//使用页面/文本对比查看器快速编辑) |
||
(未显示同一用户的4个中间版本) | |||
<noinclude>{{doc|content=用于在讨论页插入外部图片。请使用{{tl|外部图片}}调用。}}[[category:混合小部件]]
<
/* </includeonly>CSS样式表:<pre lang="css"> */
.outerImage { /* 外层容器,防窄屏上图片过宽 */
overflow-x: auto;
max-width: 100%;
vertical-align: bottom; /* Safari */
}
.outerImage > div { /* 内层容器,可以裁剪 */
overflow: hidden;
position: relative;▼
}
.badImage {
▲ position: relative;
pointer-events: none;
width: 50px !important;
height: 50px !important;
}
.badImage::before {
width: 100%;
height: 100%;
}
.badImage img {
display: none;
}
/* </pre><includeonly> */
|