https://github.com/nonsalant/image-compare
"Before/after"-style comparison slider. Keyboard accessible. Light DOM prevents CLS on Core Web Vitals and makes it easy to add styles.
https://github.com/nonsalant/image-compare
css html image light-dom vanilla-javascript web-components
Last synced: 2 months ago
JSON representation
"Before/after"-style comparison slider. Keyboard accessible. Light DOM prevents CLS on Core Web Vitals and makes it easy to add styles.
- Host: GitHub
- URL: https://github.com/nonsalant/image-compare
- Owner: nonsalant
- License: mit
- Created: 2025-01-08T18:39:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-08T19:56:13.000Z (over 1 year ago)
- Last Synced: 2025-01-08T20:24:28.498Z (over 1 year ago)
- Topics: css, html, image, light-dom, vanilla-javascript, web-components
- Language: JavaScript
- Homepage: https://codepen.io/nonsalant/pen/gbYRJKd
- Size: 292 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0