COIN FLIP DONATE BUTTON

Author:

  • Cooper Goeke
  • October 28, 2020

Made with:

  • HTML / CSS (SCSS) / JS

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

Add a Comment

Your email address will not be published. Required fields are marked *