transition for div css code example Example: css transition transition: property duration timing-function delay|initial|inherit;