A lightweight JavaScript library for 3D tilt, parallax, and accelerometer effects using CSS custom properties.
Levita is a modern library for adding interactive 3D tilt and parallax effects to web elements. It provides a performant alternative to traditional animation loops by leveraging CSS custom properties for GPU-accelerated rendering, resulting in smooth animations with minimal JavaScript overhead.
requestAnimationFrame loop, ensuring high performance even with high-polling-rate input devices.data-levita-offset attribute on child elements.Levita prioritizes performance and developer experience by offloading animation work to the GPU and providing a simple, declarative API. It is designed to be lightweight, framework-first, and easy to integrate into any modern web project.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.