From d10496df39d00e2a7034357414be1b5e733baf26 Mon Sep 17 00:00:00 2001 From: Ashley Date: Fri, 10 Mar 2023 20:58:17 +0000 Subject: [PATCH] cool animation stuff --- html/poketube.ejs | 45 +++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 41 insertions(+), 4 deletions(-) diff --git a/html/poketube.ejs b/html/poketube.ejs index 88adf8c5..2b5433ac 100644 --- a/html/poketube.ejs +++ b/html/poketube.ejs @@ -81,7 +81,18 @@ margin-top: 50px; } -@media (max-width: 414px) { + /* CSS */ +.fade-in { + opacity: 0; + transition: opacity 0.5s ease-in-out; +} +.fade-in.fade-in-active { + opacity: 1; +} + + + + @media (max-width: 414px) { .comments-area { padding: 50px 8px; } @@ -346,6 +357,10 @@ display:none !important; } + .fade-in { + opacity: 1 !important; + + } <% if (inv_vid.videoId == "QrGrOK8oZG8") { %> @@ -1040,7 +1055,7 @@ display: block; !important;" autoplay controls
<% inv.comments.forEach(x =>{ %> -
+