How to preserve sibling element position when one sibling is absolutely positioned?
- by Casey
In the snippet below, the child div is normally positioned until it is :hovered , when it becomes absolutely positioned. The reasoning behind this markup is to simulate a popup style in a limited environment where I can't use a <select> (among other limitations).
When child is hovered, the sibling elements jump around, which is expected, as…