How can I flip a Div when an image within that div is clicked?
OK so I know very little about writing Javascript, I can edit it a little, and have dabbled a bit in CSS3 animations. I will give you an image of the sort of thing I am trying to achieve and then explain it below. the website layout will be this: http://i.imgur.com/XyhaxNP.jpg I have found a few ways of doing it on Google but most of them seem to flip the div when the user hovers over the div, I need it to be on click event as it will also need to work on mobile. the third demo with the toggle button is what I was looking at, but that seems to not work when I add the event to an image. This is