From 17852e3680b0d2305457a06f1753be293f4eae86 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 21 Dec 2024 16:34:01 +0200 Subject: referat(WT): Added name and fn --- Year 4/Web technologies/referat/css/effects.css | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'Year 4/Web technologies/referat/css/effects.css') diff --git a/Year 4/Web technologies/referat/css/effects.css b/Year 4/Web technologies/referat/css/effects.css index 9ac3088..c26d678 100644 --- a/Year 4/Web technologies/referat/css/effects.css +++ b/Year 4/Web technologies/referat/css/effects.css @@ -1,6 +1,9 @@ -figure { +figure, .clickable { cursor: pointer; } +.clickable:active { + transform: scale(0.8); +} .none { display: none; @@ -43,3 +46,17 @@ figure { left: 0; z-index: 99; } + +.copy-to-clipboard { + position: absolute; + right: 0.5em; + top: 0.25em; + z-index: 20; + background-color: white; + border-radius: 0.25em; + cursor: pointer; +} + +.copy-to-clipboard:hover { + background-color: rgb(68, 65, 118, 0.5); +} -- cgit v1.3.1-26-gb76a