Skip to content

armgit / my-yt

Public Imported from GitHub
0

A clean and minimal youtube frontend, without all the ads and whistles

JavaScript

style: video placeholder hover interaction

Christian Fei985a9f742957
diff --git a/client/main.css b/client/main.css
index 1e7084c..50735c7 100644
--- a/client/main.css
+++ b/client/main.css
@@ -208,6 +208,13 @@ video-element, video-element video {
+.play-video-placeholder:hover {
+ transform: scale(1.01);
+ filter: drop-shadow(2px 4px 6px rgb(140, 138, 138));
+}
+.play-video-placeholder {
+ transition: all .1s ease;
+}
.play-video-placeholder {
height: 225px;
background-color: #ceaf80;