1 reply [Last post]
CssEJ
CssEJ's picture
Offline
newbie
Last seen: 8 weeks 1 day ago
Timezone: GMT+1
Joined: 2018-10-14
Posts: 2
Points: 3

I was asked to create a flipping card and I want to do one without automatic rotation. I want it to rotate after clicking but I have no idea how to do this, I'm thinking I have to use transform:rotateY(180deg) Any pointers? Thank you!

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 14 hours 5 min ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9716
Points: 3792

Markup?

Without having the html markup for the element/s/ in question, we can only guess at a solution.

Please post a minimal test case or a link to the page.

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.