← Back to list feature
CSS 3D Flashcard & Web Speech Progressive Enhancement
Pure CSS 3D card flip animation and native Web Speech API audio playback with zero external animation runtime overhead.
Smooth card flip animations and voice pronunciation typically demand heavy JavaScript animation runtimes or hosting thousands of static MP3 files.
Leveraged native CSS perspective & transform: rotateY(180deg) without additional JS animation libraries, paired with native browser window.speechSynthesis (en-US) as an on-device progressive enhancement.
Smooth card flips with zero external animation library overhead, and instant pronunciation playback without downloading external audio files.
Implementation
- Accessibility support for prefers-reduced-motion switches 3D rotation duration to instantaneous state changes.
- Text inputs to the Web Speech API are bounded and sanitized to avoid browser speech synthesizer lockups.
- Full desktop keyboard navigation (Space for flip, 1/2/3 for rating, A for audio).