* Add autoscoping with generated demo * Remove manual demo from all snippets * Add JavaScript inside IIFE * Align mouse-cursor-gradient-tracking.md to demo code * Match snippets to demo * Update CONTRIBUTING.md * Create reusable function for code extraction
37 lines
668 B
Markdown
37 lines
668 B
Markdown
### Snippet name
|
|
|
|
Brief description
|
|
|
|
#### HTML
|
|
|
|
```html
|
|
|
|
```
|
|
|
|
#### CSS
|
|
|
|
```css
|
|
|
|
```
|
|
|
|
#### Demo
|
|
|
|
<!-- Leave this blank, the build script will generate the demo for you. -->
|
|
|
|
#### Explanation
|
|
|
|
<!-- Use a step-by-step (ordered) list if possible. Keep it concise. -->
|
|
|
|
#### Browser support
|
|
|
|
<!-- Use the checkmark or the warning emoji, see the existing snippets. -->
|
|
|
|
<span class="snippet__support-note">✅ No caveats.</span>
|
|
|
|
<!-- Whenever possible, link a `caniuse` feature which allows the browser support percentage to be displayed.
|
|
If no link is provided, it defaults to 99+%. -->
|
|
|
|
* https://caniuse.com/#feat=some-feature
|
|
|
|
<!-- tags: (separate each by a comma) -->
|