A tutorial on creating a squishy button with hover and click animations using the CSS `shape()` function. The technique involves generating multiple shape states with a specific relationship between size and radius values (their sum must remain constant), using an online generator at css-generators.com/fancy-frame to produce the required CSS code. Three shape states are defined to create the squish animation effect.
3 Comments
Sort: