I suppose one drawback of using a selector like
img.class is that it has a higher specificity than simply
.class, which could cause unforeseen conflicts as you add more css.
Also, sometimes it’s good to have a class that is not based on a specific type of element. For example if you have a class like
.red_text, you could apply it to spans, headers, paragraphs etc…