Possible ways to highlight table rows temporarily

I am trying to replicate an existing pattern we have in our application where when you navigate to a page after clicking a link that references a certain item, that item card is expanded and a border and box-shadow appear and then fade out after. On the table rows I am able to add a border but I can’t get the box-shadow to render correctly. Does anyone have any methods for temporarily focusing a table row or know if you are able to fully control box-shadow on a table row with some tricks? I’m thinking that my best bet is to change the color of the table row and have that fade out but I would like something more subtle and for it to be consistent with the behavior on the cards.