Forums

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

Home Forums CSS How can I select multiple divs?

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #205805
    Matias
    Participant

    Hi again guys!

    I need that when I click on any “div” they stick with the same design that has the hover. I need to select multiple of them not just one.

    Here is the code:

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

    How can I make that possible?

    Thanks so much!

    #205809
    Paulie_D
    Member

    If you are trying to affect/select multiple elements…you need javascript..generally although I’m not exactly sure if that’s what yor are after.

    You want the divs to become selected as each is clicked…right? That needs JS.

    #205812
    shaneisme
    Participant

    You want the divs to become selected as each is clicked…right? That needs JS.

    Correct!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.