Forums

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

Home Forums CSS Pure CSS-alternative for selecting preceding sibling element? Reply To: Pure CSS-alternative for selecting preceding sibling element?

#248935
deb
Participant

.container .div:nth-child(2) , put numbers according to your choice, put 1 for first , put 2 for second and so on…

cheeers