diff --git a/comic_reader.css b/comic_reader.css index 69bdbd1..5e3f879 100644 --- a/comic_reader.css +++ b/comic_reader.css @@ -14,7 +14,7 @@ #reader-pages > img { display: inline-block; opacity:0; - transition: all 1.5s ease; + transition: all 1s cubic-bezier(.9,.03,.69,.22); /* ease-in quartic */ flex-shrink: 0; } diff --git a/comic_reader.js b/comic_reader.js index f58ca20..0c04c13 100644 --- a/comic_reader.js +++ b/comic_reader.js @@ -103,7 +103,10 @@ function initReader(){ } READER_PAGES.style.display = "flex" - READER_PAGES.hidden = false + setTimeout(() => { + READER_PAGES.hidden = false + }, "300") + }