css transition opacity ease in out code example Example: css opacity transition div { transition: opacity seconds; }