Forums

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

Home Forums CSS Is possible use active css in a image?? Reply To: Is possible use active css in a image??

#264552
Paulie_D
Member

Yes but that’s not what the :active pseudo-class does.

It only works when you click down on an element and comes off when you release the mouse button.

What you seem to be wanting to do is select the image with a click and indicate it as the current item.

For that you need Javascript.