css transition scale code example
Example 1: how to make a button grow in css
.grow { transition: all .2s ease-in-out; }
.grow:hover { transform: scale(1.1); }
Example 2: transition scale
.grow { transition: all .2s ease-in-out; }
.grow:hover { transform: scale(1.1); }Create a snippet
Example 3: css animation scale image
css
.btn {
transition: transform 250ms, opacity 400ms;
}
.btn:hover {
transform: scale(1.2);
opacity: 0;
}
Example 4: css scale
transform: scale(sx,sy);