LLWiki正在建设中,欢迎加入我们!
“Widget:OuterImage”的版本间差异
跳转到导航
跳转到搜索
(使用页面/文本对比查看器快速编辑) |
(使用页面/文本对比查看器快速编辑) |
||
第2行: | 第2行: | ||
/* </includeonly>CSS样式表:<pre lang="css"> */ |
/* </includeonly>CSS样式表:<pre lang="css"> */ |
||
.outerImage { |
.outerImage { |
||
max-width: 100%; |
|||
overflow-x: auto; |
overflow-x: auto; |
||
} |
} |
||
.outerImage img { |
.outerImage img { |
||
width: |
width: 100%; |
||
height: |
height: 100%; |
||
} |
} |
||
/* </pre><includeonly> */ |
/* </pre><includeonly> */ |
2021年1月29日 (五) 12:19的版本
JavaScript脚本:User:Bhsd/widget/outerImage.js
CSS样式表:
*/
.outerImage {
overflow-x: auto;
}
.outerImage img {
width: 100%;
height: 100%;
}
/*