Skip to content

📋 Javascript30 tutorial 16 from Wes Bos. Javascript code to move shadown around text when mouse is moved.

Notifications You must be signed in to change notification settings

AndrewJBateman/javascript-mousemove-shadow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚡ Javascript Mousemove Shadow

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

GitHub repo size GitHub pull requests GitHub Repo stars GitHub last commit

📄 Table of contents

📚 General info

  • Tutorial Code using text-shadow property to move shadow around text when mouse is moved.

📷 Screenshots

Example screenshot.

📶 Technologies

💾 Setup

  • Open index.html in browser. If any code is changed the browser needs to be refreshed.

💻 Code Examples

  • 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;
  }

🆒 Features

  • Can change colours and distance of shadows from header.

📋 Status & To-Do List

  • Status: Working.
  • To-Do: try different values in formulae to see effect on shadow, add other text properties.

👏 Inspiration

📁 License

  • N/A

✉️ Contact

About

📋 Javascript30 tutorial 16 from Wes Bos. Javascript code to move shadown around text when mouse is moved.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published