Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Robert Mews11,540 Points
What is the CSS video player selecting?
I'm curious on how the custom video CSS is selecting class elements if those elements don't appear in the html markup (i.e. .mejs-button, etc)?
Jonathan GrieveTreehouse Moderator 91,228 Points
It's been a while,... but elements can be selected at attribute level as well as element type.
If you've got an example of mejs open, get it open in Chrome DevTools. Have a look at the CSS selectors with the inspector tool. You'll be able to see first hand how the skin is put together as well as the CSS that makes it up. You'll then quickly see how such skins are put together and how to target them with CSS. :-)