target :after :before

should it be possible to target .my-class:after ?

reading another post it seems this should work but in practice when I tried adding this class it didnt seem to do anything.

2
4 replies