Answers for "how do relative positions work css"

CSS
1

what does position relative do ?

position: relative places an element relative to its current position
without changing the layout around it
whereas position: absolute places an element relative to its parent's
position and changing the layout around it.
Posted by: Guest on September-11-2021

Browse Popular Code Answers by Language