.position()
The css .position() method is used to find out the position of the current element in the document. The position is found relative to the parent element of the selected element. This method returns an object with 2 properties, top and left, which represent the top and left positions in pixels. The below example explains how to find out the css position of the element h1.
Web Hosting Company