btn transition inheritance