The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Is it possible to Select the parent from a child
As the question suggests, I want to apply CSS the other way round ,For example
Is it possible to do something like
.Small:target .Big {blah blah}
Please reply
Not directly with current CSS, you’ll have to use some jQuery for that.
$('.Small').parent().css("color","red");