This is a button that happens to be squishy, and quite possibly, edible
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

344 B

This is a button that happens to be squishy, and quite possibly, edible

It relies on shadows and gradients to be squishy. See neumorphism. Other than that, css ::before and ::after pseudoelements are used for gradient transitions on click.

Demo

At agatharose.dev