When we looked at class selectors, we learned that we could reuse classes to target more than one element with a style.
In addition to reusing classes on more than one element, we can also add multiple classes to a single element.
To understand when we might need to do this, let’s look at a practical use case for adding multiple classes to a single element.
One great use case for adding multiple classes to an element is when we have lots of repeated CSS code in our style sheets.
In a situation like this, it’s best to create a separate class for repeated styles, that way you can add the class to any element that you wish to apply a particular styling on.