you set more height than the browser, don't you scroll bar? Doesn't absolute positioning cover the father's?
your .parent should just set a hide of overflow: hidden, excess
you are relative to. Parent located it. Parent is not as tall as absolute, so it holds up the scroll bar
absolute positioning element relative to the nearest non-static ancestor element.
it is separated from the document stream within this ancestor, but not from this ancestor. When the ancestor overflow is not hidden, it produces a scroll bar
. The scroll bar you said is not parent scroll bar, absolute positioning causes high collapse and inline- blockization, it should be the root node scroll bar, which I don't quite understand.
after leaving the document stream, because you have set the width and height of the absolute to exceed the width and height of the browser, a scroll bar will appear naturally. Why don't you try setting the width and height a little less?
this scroll bar is not a parent scroll bar, but a browser scroll bar. Out of the document stream, but not out of the browser.