position absolute is calculated based on the nearest parent that is position relative
CSS Positioning Explained By Building An Ice Cream Sundae
Kevin Kononenko

Well explained..

One correction: It should be.. nearest parent with position relative or *absolute*..

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.