No, overflow generates a bfc, the weight of its stacking order is higher, and the absolute weight of position is not as high as it.
absolute absolutely positioned element, if it contains a parent element whose overflow is not visible, and at the same time, the parent element and any nested elements between the absolutely positioned element do not have a position declaration with a non-static attribute. Then overflow has no effect on the absolute element.
I’ll give you two pieces of information for reference http://www.zhangxinxu.com/wor... http://www.zhangxinxu.com/wor...
Update
Transform + overflow + fixed positioning are implemented. https://jsfiddle.net/vpgL5535/4/
Position after removing overflow https://jsfiddle.net/vpgL5535/3/
If you cannot manually override the overflow:hidden attribute of the parent element, you can try to make the pseudo-class absolutely positioned relative to the parent element of the white background box
No, overflow generates a bfc, the weight of its stacking order is higher, and the absolute weight of position is not as high as it.
I’ll give you two pieces of information for reference
http://www.zhangxinxu.com/wor...
http://www.zhangxinxu.com/wor...
Update
Transform + overflow + fixed positioning are implemented.
https://jsfiddle.net/vpgL5535/4/
Position after removing overflow
https://jsfiddle.net/vpgL5535/3/
. . . You put overflow:hidden. Otherwise, don't let it be in this parent element. . Use absolute positioning
Can be handled by setting the position attribute,
http://www.zhangxinxu.com/stu...
If you cannot manually override the overflow:hidden attribute of the parent element, you can try to make the pseudo-class absolutely positioned relative to the parent element of the white background box