Button Animation CSS Code Example


Example 1: html css good button

<button style="background-color: turquoise; border: none; border-radius: 5px; color: #333; /* Dark grey */ padding: 15px 32px">Example button</button>

Example 2: how to add animation to a button hover

.btn {   background-color: #ddd;   border: none;   color: black;   padding: 16px 32px;   text-align: center;   font-size: 16px;   margin: 4px 2px;   transition: 0.3s; }  .btn:hover {   background-color: #3e8e41;   color: white; }

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable