Using Sass can be really helpful in punching out some mundane repetition classes. In this example we…