tilt.js
tilt.js copied to clipboard
Oudated instructions on https://gijsroge.github.io/tilt.js/
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?
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?
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