Hello, I am kunaal a fullstack developer.I have a youtube channel "Modern Web" where I teach to make awesome web UI/ UX. Don't forget to checkout my youtube channel
It means if you have a relative positioned element with top 500px for example then, if you set its child to absolute position then for that element, this 500px is equal to 0. And the top property behave like margin top.
I hope you understood now. Let me know in comments.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Didn't understood "positioned relative to parent"
It means if you have a relative positioned element with top 500px for example then, if you set its child to absolute position then for that element, this 500px is equal to 0. And the top property behave like margin top.
I hope you understood now. Let me know in comments.