CSS3 transition/hover effect not working in Firefox; a Firefox bug?

后端 未结 2 1979
盖世英雄少女心
盖世英雄少女心 2020-12-11 08:45

I\'m trying to create a mouse-over effect that slides the top layer to the left and reveal the bottom layer using CSS3. The code works in Chrome but not in Firefox...did I d

2条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-11 09:02

    Turns out there is a bug in Firefox (firefox hover opacity) and I solved the problem by changing

    .layers:hover .over {}
    

    to

    [class="layers"]:hover over {}
    

    I just upgraded to Firefox 5 (from Firefox 4); not sure if the bug has been fixed or not...

提交回复
热议问题