Display-positioning

Hello everyone!
What does position: absolute; do?
Cause when I write it in my code to me it makes no difference.

Hello! position: absolute positions something relative to its parent element, or, if there is no parent element, the document itself. That means setting things like top: 5px to a value will move it 5px from the border of its parent. See this page for more.

1 Like

Thank you very much @codeneutrino!

1 Like