From 02115781569f284ee7f514ec52b78e5ee3140edc Mon Sep 17 00:00:00 2001 From: Nicolas Fritz Date: Sun, 29 Jan 2023 14:44:08 +0100 Subject: [PATCH] Img selectCC hover und pos gesetzt --- uno/css/uno.css | 47 +++++++++++++++++++++++++++++++++++++++++++++++ uno/index.html | 5 ++++- 2 files changed, 51 insertions(+), 1 deletion(-) diff --git a/uno/css/uno.css b/uno/css/uno.css index 9ca86c7..58c06ee 100644 --- a/uno/css/uno.css +++ b/uno/css/uno.css @@ -87,4 +87,51 @@ body #sayUno-glow{ opacity: 0.3; transition: width ease-in-out 0.5s, opacity 0.5s; +} + +.selectColor { + display: flex; + align-items: center; +} + +.cc{ + position: absolute; + width: 10vw; + z-index: 1000; +} +#cc-blue{ + top: 20vw; + left: 50vw; + transition: top 0.5s, left 0.5s; +} +#cc-green{ + top: 20vw; + right: 50vw; + transition: top 0.5s, right 0.5s; +} +#cc-yellow{ + top: 10vw; + right: 50vw; + transition: top 0.5s, right 0.5s; +} +#cc-red{ + top: 10vw; + left: 50vw; + transition: top 0.5s, left 0.5s; +} +#cc-blue:hover{ + top: calc(20vw + 15px); + left: calc(50vw + 15px); +} +#cc-red:hover{ + top: calc(10vw - 15px); + left: calc(50vw + 15px); +} +#cc-yellow:hover{ + top: calc(10vw - 15px); + right: calc(50vw + 15px); +} +#cc-green:hover{ + top: calc(20vw + 15px); + right: calc(50vw + 15px); } \ No newline at end of file diff --git a/uno/index.html b/uno/index.html index 56a8013..3bc5b50 100644 --- a/uno/index.html +++ b/uno/index.html @@ -13,7 +13,10 @@
- + + + +