add some transition

1. set the initial attribute

2. transition