How to make a pattern “fixed” in Raphael.js / IE?

前端 未结 4 1704
离开以前
离开以前 2021-02-06 23:03

I\'m creating a small tool to illustrate the benefits of polarizing lenses. Basically a user will drag the lenses (a Raphael.js path) over a dazzling scene (the CSS background o

4条回答
  •  我寻月下人不归
    2021-02-06 23:54

    This is something related to the positioning of the elements.

    Try giving absolute for #playmask and for its parent give position:relative

    I remember something like this encountered sometime before when playing with Raphael. It happened only in IE, I thought it was a bug in Raphael, later found its due to positioning.

提交回复
热议问题