Update tags, expertise and descriptions across
Fix anything that was a bit out of place
This commit is contained in:
@ -1,12 +1,14 @@
|
||||
---
|
||||
title: Mouse cursor gradient tracking
|
||||
tags: visual, interactivity,advanced
|
||||
tags: visual,interactivity,advanced
|
||||
---
|
||||
|
||||
A hover effect where the gradient follows the mouse cursor.
|
||||
|
||||
```html
|
||||
<button class="mouse-cursor-gradient-tracking"><span>Hover me</span></button>
|
||||
<button class="mouse-cursor-gradient-tracking">
|
||||
<span>Hover me</span>
|
||||
</button>
|
||||
```
|
||||
|
||||
```css
|
||||
@ -63,6 +65,4 @@ btn.onmousemove = function(e) {
|
||||
|
||||
#### Browser support
|
||||
|
||||
<span class="snippet__support-note">⚠️ Requires JavaScript.</span>
|
||||
|
||||
- https://caniuse.com/#feat=css-variables
|
||||
|
||||
Reference in New Issue
Block a user