Last active
September 10, 2021 05:14
-
-
Save caligari87/d2f0b763ee7ad5983164193f59607c7c to your computer and use it in GitHub Desktop.
Hide the YouTube video duration overlay unless hovering the thumbnail. For a user-style addon, like Stylus. Demo video: https://streamable.com/ykhtls
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ytd-thumbnail-overlay-time-status-renderer { | |
opacity: 0.0!important; | |
transition: opacity 0.1s!important; | |
} | |
.ytd-thumbnail:hover ytd-thumbnail-overlay-time-status-renderer { | |
opacity: 1.0!important; | |
transition: opacity 0.5s!important; | |
z-index: 2!important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment