convert style to base transitions