I know position: absolute will pop an element from the flow and it stops interacting with its neighbors.
position: absolute
What other ways are there to achieve this?
One trick that makes position:absolute more palatable to me is to make its parent position:relative. Then the child will be 'absolute' relative to the position of the parent.
position:absolute
position:relative
jsFiddle
1.4m articles
1.4m replys
5 comments
57.0k users