From 0bb5c82acc8a9b03257af2cf4ff522d31259642b Mon Sep 17 00:00:00 2001 From: yutent Date: Thu, 6 Apr 2023 17:39:00 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4color=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E5=A4=9A=E4=BD=99=E7=9A=84z-index?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/color/index.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/color/index.js b/src/color/index.js index fbbeb79..e1506d1 100644 --- a/src/color/index.js +++ b/src/color/index.js @@ -241,7 +241,6 @@ class Color extends Component { position: absolute; left: 0; top: 0; - z-index: 0; width: 100%; height: 100%; content: ''; @@ -256,7 +255,6 @@ class Color extends Component { .thumb { position: absolute; - z-index: 1; width: 0; height: 0; @@ -293,7 +291,6 @@ class Color extends Component { position: absolute; left: 0; top: 0; - z-index: 0; width: 12px; height: 0; @@ -310,7 +307,6 @@ class Color extends Component { } .hue { position: relative; - z-index: 1; display: block; width: 12px; height: 180px; @@ -330,7 +326,6 @@ class Color extends Component { position: absolute; left: 0; top: 0; - z-index: 0; width: 100%; height: 12px; background: linear-gradient(to right, transparent, #f00); @@ -340,7 +335,6 @@ class Color extends Component { position: absolute; left: 100%; top: 0; - z-index: 0; width: 0; height: 12px; @@ -358,7 +352,6 @@ class Color extends Component { .alpha { position: relative; - z-index: 1; display: block; width: 100%; height: 12px;