Use CSS Classes to Reuse and Override Styles

InstructorJhey Tompkins

Share this video with your friends

Send Tweet

In this lesson, we create a second lens for our Egghead spectacles. These are a mirror image of each other. Instead of writing out the styles again, we can reuse the styles and make use of the specific class to override the positioning and transform in order to mirror the right lens.