开发者

Switching tabs breaks background images when using the CSS styling perspective

开发者 https://www.devze.com 2023-04-09 16:09 出处:网络
Any ideas why? What steps will reproduce the 开发者_如何学Cproblem? Load the following fiddle: http://jsfiddle.net/bhellman1/4fTeA/1/

Any ideas why?

What steps will reproduce the 开发者_如何学Cproblem?

  1. Load the following fiddle: http://jsfiddle.net/bhellman1/4fTeA/1/
  2. In the result box, scroll down a half way
  3. Switch to another tab
  4. Then go back to the fiddle, notice the background image broke, it's gone, and all you now see it the background color

The background-image should persist when tabbing through chrome. Instead, switching to another Chrome tab breaks the background-image


Getting rid of all of this code fixes it for me:

#number .flipper {
    perspective: 1000;
    -o-perspective: 1000;
    -ms-perspective: 1000;
    -moz-perspective: 1000;
    -webkit-perspective: 1000;
}

Not even sure what that does exactly.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号