aboutsummaryrefslogtreecommitdiff
path: root/src/components/YouTubeVideos.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/YouTubeVideos.svelte')
-rw-r--r--src/components/YouTubeVideos.svelte4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/YouTubeVideos.svelte b/src/components/YouTubeVideos.svelte
index a6c1c18..819dce0 100644
--- a/src/components/YouTubeVideos.svelte
+++ b/src/components/YouTubeVideos.svelte
@@ -75,6 +75,10 @@
transform: scale(1.04); /* Scales the image to 110% of its original size on hover */
}
+ .zoom:active {
+ transform: scale(0.6); /* Scales the image to 110% of its original size on hover */
+ }
+
.container {
display: grid;
gap: 1em; /* Adjusts the gap between grid items */