javascript - Why is position: relative breaking my html5 canvas? -
i'm trying insert html5 canvas animation existing site. it's got couple buttons changes happens in animation when click on it. animation works can't click on buttons.
i've narrowed down part of issue position: relative style on parent div canvas. when take out position:relative, can click on buttons. when put position:relative in, can't click on buttons.
i can't change existing styles site i'm hoping can override styles canvas make buttons work.
how fix this?
Comments
Post a Comment