转换:translateX使超链接不可点击

I made a carousel slider(copied the code from some codepen then made some changes) and it looks something like this. Anyway the problem is that those images have hyperlinks that work unless i make a transform on x axis..for lets say 240px the hyperlinks stops working. What i mean by that its that its unclickable. This is the structure of the html code. I made a script that adds style = "transform:translateX(-240px); to the carousel div.

预期的行为:超链接应该是可点击的。