gijsroge / tilt.js

A tiny 60+fps parallax tilt hover effect for jQuery.

Home Page:http://gijsroge.github.io/tilt.js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typo in documentation

technbuzz opened this issue · comments

The landing page says in order to disable a particular axis, an axis property can be provided as

$('.js-tilt').tilt({ axis: x });

Which doesn't work

The value should be string and wrapped in quotes as axis: 'x' in order to work.