Forums

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

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #37830
    Prayag
    Participant

    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

    #101942
    Senff
    Participant

    Not directly with current CSS, you’ll have to use some jQuery for that.

    $('.Small').parent().css("color","red");
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.