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?

#248946
kwerty
Participant

Hi,

Not sure this is what you are looking for.

Basically i’ve selected the [container elememt] that contains [dropdown] class and then i have targeted the first div with the className card.

http://codepen.io/anon/pen/yVRLZa

Thanks