npm install the-force
Add script to your page:
<script src="node_modules/force.js">
NOTE: This currently only works with Safari 9+.
TheForce.beWith('button-id').alter('boxShadow');
As more pressure is applied to the touch pad, it will alter the effect:
TheForce.beWith('button-id').alter('boxShadow', 'green');
npm run compile