Forums

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

Home Forums CSS How can i execute CSS3 animation with onclick?

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #43788
    Anonymous
    Inactive

    I’m trying to create an image gallery and each image slides in and becomes larger with CSS3 animation. I could get this working but i want the CSS animation to be executed when an image is clicked. How can i achieve this?

    PS. I will also need to be able to stop the animation and prevent it from starting when the page loads.

    PPS. And the previous image must slide away and go back to its absolute position and width.

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