A small, accessible interaction demo built with plain HTML, CSS, and JavaScript. The ripple follows the pointer and responds to keyboard focus without a framework.
- Pointer-following ripple animation
- Accessible native button and focus state
- Responsive, modern presentation
- Reduced-motion support
- No runtime dependencies
- HTML, CSS, and vanilla JavaScript
- Static GitHub Pages deployment
Use Node.js 20.19 or newer. Install the development tools, then start the static server:
npm install
npm run devYou can also open index.html directly. Create a clean static build with npm run build, then deploy it to GitHub Pages with npm run deploy.
- Live: https://a2rp.github.io/button_ripple_effect-html-css-javascript/
- Repository: https://github.com/a2rp/button_ripple_effect-html-css-javascript
- Portfolio: https://www.ashishranjan.net/
- GitHub: https://github.com/a2rp
- CodePen: https://codepen.io/ash1198
- LinkedIn: https://www.linkedin.com/in/aashishranjan
- Facebook: https://www.facebook.com/theash.ashish/
- YouTube: https://www.youtube.com/@ashishranjan-ashz?sub_confirmation=1
- Email: mailto:ash.ranjan09@gmail.com
- Support: https://a2rp-donation-page.netlify.app/
- Buy Me a Coffee: https://buymeacoffee.com/a2rp
- Patreon: https://www.patreon.com/a2rp
