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
Brian Bozarth11,292 Points
Okay to use pseudo-class :valid? I get an error in the CSS Validator.
In the Online-Registration-Form project, I'm getting an error in the CSS validator.
Unknown pseudo-element or pseudo-class :valid
I'm using it to change the alignment of the input text and also the font-style from italic to normal. Seems to work on all browsers.
Jason AndersTreehouse Moderator 145,826 Points
According to the Mozilla Developer Network
:valid is "known" and is correct.
To be honest, while the "validators" can be helpful, I do not hold them to any actual authority.