轮播图:修订间差异
来自卡厄思梦境WIKI
小无编辑摘要 |
小无编辑摘要 |
||
| 第4行: | 第4行: | ||
<div class="carousel-wrapper" style="display: flex; height: 100%; transition: transform 0.5s ease;"> | <div class="carousel-wrapper" style="display: flex; height: 100%; transition: transform 0.5s ease;"> | ||
{{#if:{{{图1|}}}| | {{#if:{{{图1|}}}| | ||
<div class="carousel-slide" style="min-width: 100%; height: | <div class="carousel-slide" style="min-width: 100%; height: 230px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center;"> | ||
<div style="width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden;">[[File:{{{图1}}}|x150px|center|link={{{图1跳转|}}}|class=carousel-image]]</div> | <div style="width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden;">[[File:{{{图1}}}|x150px|center|link={{{图1跳转|}}}|class=carousel-image]]</div> | ||
</div> | </div> | ||