A flippable card built with a custom web component
Recently stumbled upon custom web components. Although I’m a long time developer, I did not know of their existence 🙈. They basically allow you to create your own HTML tags.
I read some documentation to get me going, and this was the result, my very own custom HTML tag:
It even supports horizontal and vertical flipping:
Or have the card show the back by default:
You can find some examples and the source on my GitHub. Feel free to fork and adjust it, but give it a ⭐️ when you do. Thanks!