how to use transition and transform in css code example Example: css transform transition .selector { transition: transform 1s; }