How to apply absolute positioning inside relative positioning explained in this example.

This is child div