Pseudo element Question / Help

i have a question to all, im trying to add pseudo element to a class i want to add ::before and ::after in the same, to style some of the similar css properties that they will have similar, for example the picture

Not sure what the question is, but this might help: