background-attachment:fixed not working in chrome

后端 未结 11 2017
无人及你
无人及你 2020-12-21 19:39

I am developing a website in which I have used the background-attachment:fixed property. It\'s working fine in Firefox, but the image is not fixed. In Chrome it

11条回答
  •  轮回少年
    2020-12-21 20:00

    If transform: translate3d(); is used anywhere on your website, background-attachment: fixed; will break in chrome. If possible, change all instances of transform: translate3d(); to transform: translate();. This should fix your problem.

提交回复
热议问题