Wes Bos Youtube Tutorial: CSS Text Shadow on Mouse Move Effect - #JavaScript30 16/30.
- Note: to open web links in a new window use: ctrl+click on link
- Tutorial Code using text-shadow property to move shadow around text when mouse is moved.
- Open index.html in browser. If any code is changed the browser needs to be refreshed.
- position of x and y coordinates includes offset from left and top.
if (this !== e.target) {
x = x + e.target.offsetLeft;
y = y + e.target.offsetTop;
}
- Can change colours and distance of shadows from header.
- Status: Working.
- To-Do: try different values in formulae to see effect on shadow, add other text properties.
- Wes Bos Youtube Tutorial: CSS Text Shadow on Mouse Move Effect - #JavaScript30 16/30.
- N/A
- Repo created by ABateman, email: gomezbateman@yahoo.com