I want to add absolutely positioned element as an :after (of :before) of a table row.
:after
:before
Look at this:
Use the first table cell instead of the row as a host for the absolutely positioned pseudo-element.
row > td:first-child::before { content: ''; position: absolute; . . }