GIve css3 rotate to a DIV in Chrome then the background-attachment:fixed creating bug

后端 未结 5 2212
予麋鹿
予麋鹿 2020-12-17 09:49

My background-attachment:fixed is working fine. But when I define CSS3 rotate on that DIV and scroll down then background-attachment:fixe

5条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-17 10:03

    I think that what you need to do is remove the background: ...fixed 0 0; property to get the image to rotate properly while not losing it when you scroll. The fiddle for that would be this; otherwise you could just make a rectangular image with a rotated rectangle inside of it which is transparent. This would be the image hack for the css that you're trying to accomplish.

提交回复
热议问题