What are CSS3 Transitions?

Member

by maiya , in category: Design , 3 years ago

What are CSS3 Transitions?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by rickey_sauer , 3 years ago

CSS3 transitions allow you to change property values smoothly (from one value to another), over a given duration.


div {

    -webkit-transition: width 2s, height 4s; /* Safari */

     transition: width 2s, height 4s;

}