https://github.com/andrewjbateman/javascript-mousemove-shadow
:clipboard: Javascript30 tutorial 16 from Wes Bos. Javascript code to move shadown around text when mouse is moved.
https://github.com/andrewjbateman/javascript-mousemove-shadow
css-text-shadow javascript-mousemove-shadow mouse mouse-move tutorial
Last synced: 6 months ago
JSON representation
:clipboard: Javascript30 tutorial 16 from Wes Bos. Javascript code to move shadown around text when mouse is moved.
- Host: GitHub
- URL: https://github.com/andrewjbateman/javascript-mousemove-shadow
- Owner: AndrewJBateman
- Created: 2018-11-28T10:11:23.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-06-17T15:11:39.000Z (almost 5 years ago)
- Last Synced: 2024-12-27T02:44:59.081Z (over 1 year ago)
- Topics: css-text-shadow, javascript-mousemove-shadow, mouse, mouse-move, tutorial
- Language: JavaScript
- Homepage:
- Size: 209 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# :zap: Javascript Mousemove Shadow
Wes Bos Youtube Tutorial: [CSS Text Shadow on Mouse Move Effect - #JavaScript30 16/30](https://www.youtube.com/watch?v=zaz9gLI-Xac&list=PLu8EoSxDXHP6CGK4YVJhL_VWetA865GOH&index=17&t=0s).
* **Note:** to open web links in a new window use: _ctrl+click on link_




## :page_facing_up: Table of contents
* [General info](#general-info)
* [Screenshots](#screenshots)
* [Technologies](#technologies)
* [Setup](#setup)
* [Features](#features)
* [Status](#status)
* [Inspiration](#inspiration)
* [Contact](#contact)
## :books: General info
* Tutorial Code using text-shadow property to move shadow around text when mouse is moved.
## :camera: Screenshots
.
## :signal_strength: Technologies
* [Javascript ECMA-262 ECMAScript 2020](http://www.ecma-international.org/publications/standards/Ecma-262.htm)
## :floppy_disk: Setup
* Open index.html in browser. If any code is changed the browser needs to be refreshed.
## :computer: Code Examples
* position of x and y coordinates includes offset from left and top.
```javascript
if (this !== e.target) {
x = x + e.target.offsetLeft;
y = y + e.target.offsetTop;
}
```
## :cool: Features
* Can change colours and distance of shadows from header.
## :clipboard: Status & To-Do List
* Status: Working.
* To-Do: try different values in formulae to see effect on shadow, add other text properties.
## :clap: Inspiration
* Wes Bos Youtube Tutorial: [CSS Text Shadow on Mouse Move Effect - #JavaScript30 16/30](https://www.youtube.com/watch?v=zaz9gLI-Xac&list=PLu8EoSxDXHP6CGK4YVJhL_VWetA865GOH&index=17&t=0s).
## :file_folder: License
* N/A
## :envelope: Contact
* Repo created by [ABateman](https://github.com/AndrewJBateman), email: gomezbateman@yahoo.com