Right, thanks for replying. I like the @extend functionality of SASS and your example can be applied perfectly to many scenarios.
I believe it is a good practice to have a base style and “@extend” it whenever possible. but I was thinking more about selecting part of the class name itself.
Another way of looking at the example is this. If I have these classes:
.asset-download, . asset-action, .asset-box, etc.
I could also re-assign them like this:
Which would be kinda of the desired result but they share no common base styles. So I was wondering if just grabbing the beginning of the common class name and then adding the ending to it to apply the styles needed could be achieved.
Adding these class names to the web app we are building makes sense but could be misleading for CSS.