I am looking to construct CSS to target this element...
<input type="button"
pseudo="-webkit-media-controls-play-button"
aria-label="play"
class="pause">
... by both its pseudo audio::-webkit-media-controls-play-button
and its class .pause. When I combine the two with...
audio::-webkit-media-controls-play-button.pause {
background-image: url(funkypattern.png);
}
... the styling doesn't appear to be applied to the element at all when inspected.
From what I read elsewhere, it's possible this is because the Pseudo must always come last, but in that case I wouldn't know how to list the Class first while still applying both to the same element, as the conventional method I'm aware of has no divider and thus would read the Class as .pauseaudio and the rest as some kind of odd erroneous pseudo-selector.
Does anyone know of a way to make this work?
Note that I will accept the alternate answer of a way to target the Pseudo and Aria-Label instead if it is provided, but either way the solution cannot rely on JavaScript of any sort.
If that was a possibility in this case, I could have just solved this by making my own audio container.