Created
November 5, 2020 10:46
-
-
Save fvsch/14cae2fa8e845b11f1b26084903239c6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
/* DIV in the Shadow DOM in Safari, has white-space:pre so text doesn't wrap */ | |
::-webkit-media-text-track-display { | |
white-space: normal !important; | |
} | |
/* These overrides should work but don't seem to be working at all, not sure why */ | |
::-webkit-media-text-track-display-backdrop { | |
background-color: black !important; /* default: rgba(0, 0, 0, 0.5) */ | |
} | |
/* SPAN inside the track-display container, has a forced color, better to not mess with it? */ | |
::cue { | |
color: yellow !important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment