I have a number of CSS categories1-n and I have the following code to assign attributes to all of them:
[class*="parentcategory"] { float: left; }
Now some of them also have pseudo elements of ::before and ::after, .e.g .parentcategory1::before and I struggle to assign attributes generally to all of these because I have the category number between "parentcategory" and e.g. "::before"
Is there a way to solve this?
Many thanks
David