center absolute div in overflow parent - css
问题 I have a problem which I'll try to describe as best I can: I have an absolute div which is invisible. I have an icon which when hovered, the absolute div is visible. Now, I want to center the absolute div according to the icon. The problem is in order to the center the absolute div to the icon, I need the icon's position property to be position: relative . This is a problem because the icon is in a div which has overflow: hidden , thus, the absolute div gets cropped. If I put the absolute div