css transitions spin on x axis code example Example: css transform transition .selector { transition: transform 1s; }