diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/sass/components/poster.scss | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sass/components/poster.scss b/src/sass/components/poster.scss index 15e87257..9b239d4f 100644 --- a/src/sass/components/poster.scss +++ b/src/sass/components/poster.scss @@ -7,16 +7,16 @@ background-position: 50% 50%; background-repeat: no-repeat; background-size: contain; - display: none; height: 100%; left: 0; - pointer-events: none; + opacity: 0; position: absolute; top: 0; + transition: opacity 0.2s ease; width: 100%; z-index: 1; } .plyr--stopped.plyr__poster-enabled .plyr__poster { - display: block; + opacity: 1; } |