<script src="tilt.jquery.js"></script>
<span data-tilt"></span>
transform-style: preserve-3d
to your tilt element.transform: translateZ(20px)
to your inner elements that have to pop out.{'maxGlare': .5}
$('.js-tilt').tilt({
glare: true,maxGlare: .5
})
$('.js-tilt').tilt({
reset: false
})
$('.js-tilt').tilt({
scale: 1.2
})
$('.js-tilt').tilt({
axis: x
})
$('.js-tilt').tilt({
axis: Y
})