Join the Webstudio community

Updated 5 months ago

Creating a flip card struggles

At a glance
Hey guys I'm new to Webstudio, I'm trying to recreate the flip card from this tutorial https://www.w3schools.com/howto/howto_css_flip_card.asp I have got the image flipping but when the mouse is moved inside the image area the "flip" animation tries to play over and over again and I cannot seem to create a blank background to put the text in it. Is this animation possible in Webstudio?
M
b
J
4 comments
If you copy all the code in an HTML embed it works fine.

I should work too in Webstudio you just add to adapt the code with the style panel !

Suggestion : I don't know if it's possible, but it should be great to copy a random CSS code and paste it on Webstudio and it add the CSS code on the Style panel directly. But I don't know if it's really possible to do that...
@Milan Boisgard | Uncode School Thanks it does work, feels a bit 'hacky' but as long as it works, I got my version working to the point where it does everything but the card tries to start the flip animation over when the mouse is move along the image while it is flipping. Your solution turns smoothly thank you!
Great! For sur you can adapt it if you need something more « native » to Webstudio !
Add a reply
Sign up and join the conversation on Discord