element.offsetParent property returns a reference to the object which is the closest positioned containing element.
Note: This property is read-only.
|Object||Returns a element from which all offset calculations are currently computed.|
Please do google search for:
Join Our Channel
This channel is primarily useful for Full Stack Web Developer.