.button { transition: ease-in-out all 0.1s; transform: scale(1); } .button:active { transform: scale(1.2); }
<button class='.button'>test</button>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)