Pārlūkot izejas kodu

Set z-index values

customisations
alemart 9 mēnešus atpakaļ
vecāks
revīzija
096f4ddbcd
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2
    0
      demos/assets/demo.css

+ 2
- 0
demos/assets/demo.css Parādīt failu

@@ -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;

Notiek ielāde…
Atcelt
Saglabāt