Insert a div into the specified html code to wrap it

Pseudo-class elements can be implemented but he needs to adjust the position of each avatar frame, and he can adapt to the avatar size without using pseudo-classes