transition animate with css code example Example: Using CSS transitions div { transition: <property> <duration> <timing-function> <delay>; }