简体   繁体   中英

CSS3 Transition rotate issue

I am new to css3 transitions so the fix is probably easy for you. I am busy with a new website where i want to rotate some images. In a new html document it works, but when i try to implement it to my website it does nothing. www.jsfiddle.net/NXRvB/

You have a negative z-index on #circelwrap which will prevent your :hover because you are moving the element behind its container.

#circelwrap {

    z-index: -1;
}

remove this and it works.

DEMO

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