瀏覽代碼

Set z-index values

customisations
alemart 9 月之前
父節點
當前提交
096f4ddbcd
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      demos/assets/demo.css

+ 2
- 0
demos/assets/demo.css 查看文件

@@ -13,6 +13,7 @@ body {
13 13
     height: 100%;
14 14
     object-fit: contain;
15 15
     opacity: 0.75;
16
+    z-index: 0;
16 17
 }
17 18
 
18 19
 #about, #sponsor {
@@ -21,6 +22,7 @@ body {
21 22
     height: 64px;
22 23
 
23 24
     opacity: 0.5;
25
+    z-index: 1;
24 26
     outline: none;
25 27
     -webkit-tap-highlight-color: transparent;
26 28
     cursor: pointer;

Loading…
取消
儲存