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?
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!
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.
You want the divs to become selected as each is clicked…right? That needs JS.
Correct!