Shine.js文字阴影效果
Shine.js 可轻松帮你实现文字的阴影效果。示例代码:
var shine = new Shine(document.getElementById('my-shine-object')); window.addEventListener('mousemove', function(event) { shine.light.position.x = event.clientX; shine.light.position.y = event.clientY; shine.draw(); }, false);
评论