0
What is the difference between "relative and absolute" position in css?
currently I am doing projects in JavaScript..In our SoloLearn they were explained about css positions.could anyone please clear this?
1 Resposta
+ 2
Relative positioning is generally relative to the elements around it. So if you apply this to a divorce for example, and there's another div in front of it, it will push the div downwards. With absolute positioning it will remain in the same place unless specified in the css.