tilt.js icon indicating copy to clipboard operation
tilt.js copied to clipboard

Oudated instructions on https://gijsroge.github.io/tilt.js/

Open sharpmt opened this issue 7 years ago • 2 comments
trafficstars

My initial exposure to Tilt.js was through the webpage https://gijsroge.github.io/tilt.js/

However, following the basic usage, It states you're to use <span data-tilt></span>. Until visiting the git did I then realise it is now a <div> tag.

Please, can you edit your website?

sharpmt avatar Mar 07 '18 14:03 sharpmt

It shouldn't really matter what tag you use (div, span, h3, p, img etc), it is the data-tilt bit which enables the effect. Did it not work when you used span?

digiltd avatar Mar 12 '18 11:03 digiltd

Did it not work when you used span?

It did not, no, I had followed the docs as listed, only tried span and div but span didn't work

sharpmt avatar Mar 14 '18 17:03 sharpmt