Css Transition For Multiple Properties Code Example
Example 1: css transition select multiple attributes
.myclass {
/* ... */
transition: all 200ms ease;
transition-property: box-shadow, height, width, background, font-size;
}
Example 2: multiple transition in css
.nav a {
transition: color .2s, text-shadow .2s;
}
Comments
Post a Comment