简体   繁体   中英

Angular.js animation, combining css and js

What I'm trying to do is fadeout old view and fadein new view, the thing is, new content needs to be absolute position until the old one fades out, and I would like to give it some top and maybe height as well, but when I use any css() function inside enter it seems to be overridden by stuff added by angular( -webkit-transition-property: opacity, clip; -webkit-transition-duration: 300ms, 300ms; ).

Is this an expected behaviour?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM