Customize CSS Selectors with Pseudo Classes

InstructorTyler Clark

Share this video with your friends

Send Tweet

These special keywords can be used to affect specific selectors in customized ways. For example, when links enter a "hover" state, meaning a user has positioned their mouse over the element, we can apply a new set of styles using the :hover pseudo class. Another great example is styling inputs when a user clicks into it with the :focus pseudo class.