Site icon WebArtDeveloper

COIN FLIP DONATE BUTTON

Author:

Made with:

About the code:

This is a nice and simple Button idea that ended up being really hard to pull off. No 3D elements or transformations are used in this experiment, only 2D elements and some clever math to give the illusion of a 3D coin with real thickness. The coin flipping is actually randomized too – if you press the button a few times you’ll see.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: Yes

Dependencies:

Download Demo and Code
Exit mobile version