how to use css transitions code example Example: css opacity transition div { transition: opacity seconds; }