W3Schools says that
Elementc position: absoluteis located relative to the nearest located ancestor. where a positioned element is an element whose position is anything but static.
My question is: why are the elements staticexcluded? I know that I can set position: relative;left:0px;top:0px;right:0px;bottom:0pxwhat matches position:static, but IMO looks like a workaround.
source
share