HTML CSS examples for CSS Form:input button style
CSS Button Animation getting bigger
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .btn {<!-- w w w . j a va 2 s . c o m--> border-radius: 5px; padding: 15px 55px; font-size: 22px; text-decoration: none; margin: 20px; color: #fff; position: relative; display: inline-block; } .btn:active { transform: translate(0px, 5px); -webkit-transform: translate(0px, 5px); box-shadow: 0px 1px 0px 0px; } .green { background-color: #d7d7d7; box-shadow: 3px 5px 5px pink; border-radius: 2px; transition: all 1s ease; transform: scale(1); } .green:hover { background-color: #000; transform: scale(1.5) perspective(1px) } </style> </head> <body> <div id="buttons"> <a href="#" class="btn green">dance</a> </div> </body> </html>