Summary Files Commits Branches @commit @diff @stats
path: root / Year 4 / Web technologies / referat / css / effects.css
diff options
context:
space:
mode:
1 files changed, 18 insertions, 1 deletions
-rw-r--r--Year 4/Web technologies/referat/css/effects.css19
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);
+}