模板:Test/character:修订间差异

来自夜幕之下
跳到导航跳到搜索
Rin留言 | 贡献
无编辑摘要
Rin留言 | 贡献
无编辑摘要
第2行: 第2行:
.fullscreen_card {
.fullscreen_card {
   position: fixed;
   position: fixed;
   inset: 0;
   top: 0;
   z-index: -1;         /* 放到底层 */
  left: 0;
   overflow: hidden;
  width: 100vw;
  height: 100vh;
 
   z-index: -999;   /* 比正文更低 */
   pointer-events: none;
}
}


第10行: 第14行:
   width: 100%;
   width: 100%;
   height: 100%;
   height: 100%;
   object-fit: cover;    /* 等价于 background-size: cover */
   object-fit: cover;
  object-position: center;
}
}
</templatestyles>
</templatestyles>


<div class="fullscreen_card">
<div class="fullscreen_card">
   [[File:test卡面.jpg|class=bgimg]]
   [[File:test卡面.jpg|frameless]]
</div>
</div>

2026年3月2日 (一) 20:44的版本

模板样式的src属性不得为空。