I want to know if I can trigger a popup on :after instead of a general css selector

I want to know if I can trigger a popup on :after instead of a normal CSS class/id. for example: .css-class:after

http://prntscr.com/mvwpx8