As long as you don't overwrite the transition property it will inherit it from the non-focus state.

See i.e. the slideshow buttons fade