Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Design Positioning Pseudo Elements Reply To: Positioning Pseudo Elements

#263362
rashidhmoud
Participant

Okay…

BUT what I know is this: elements that are positioned (absolute) is positioned relative to the nearest positioned ancestor…

So what if I rap the box with a new div so that the pseudo-element is positioned absolutely to box without needing the position relative!