I am Chinese users, why I can only see component effect, and can't see the HTML, CSS, and js
ants () - 10 years ago - Reply 0
You can easily fix the height change by adding the following rule to the css.
.btn:active {
margin-top: 2px;
}
Jerbo06 () - 10 years ago - Reply 0
My pleasure :) Great snippet! I will use it for sure!
Edit: after looking further into it, it looks better if you change margin-top to margin-bottom ;)
Jerbo06 () - 10 years ago - Reply 0
Looks like the height changes slightly when you click on them
Michael Dyrynda () - 10 years ago - Reply 0